forked from 2009Scape/Server
Update update-utils to reflect new project name, ToolLeprechaunInterface.kt now uses Components
This commit is contained in:
parent
1493f541e2
commit
187b4d597f
2 changed files with 18 additions and 17 deletions
|
|
@ -10,14 +10,15 @@ import core.game.node.item.Item
|
|||
import core.game.system.SystemLogger
|
||||
import core.plugin.Initializable
|
||||
import core.plugin.Plugin
|
||||
import core.tools.Components
|
||||
import core.tools.Items
|
||||
|
||||
private const val varp = 615
|
||||
@Initializable
|
||||
class ToolLeprechaunInterface : ComponentPlugin() {
|
||||
override fun newInstance(arg: Any?): Plugin<Any> {
|
||||
ComponentDefinition.put(125,this)
|
||||
ComponentDefinition.put(126,this)
|
||||
ComponentDefinition.put(Components.farming_tools_125,this)
|
||||
ComponentDefinition.put(Components.farming_tools_side_126,this)
|
||||
return this
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue