mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-27 21:35:13 -06:00
Another ContentAPI
This commit is contained in:
parent
83c6a961ec
commit
c31b643c0b
1 changed files with 2 additions and 5 deletions
|
|
@ -5,6 +5,7 @@ import core.api.animate
|
|||
import core.api.dumpBeastOfBurden
|
||||
import core.api.runWorldTask
|
||||
import core.api.sendMessage
|
||||
import core.api.setInterfaceText
|
||||
import core.game.component.Component
|
||||
import core.game.node.entity.player.Player
|
||||
import org.rs09.consts.Animations
|
||||
|
|
@ -67,11 +68,7 @@ class BankDepositBoxInterface : InterfaceListener {
|
|||
|
||||
override fun defineInterfaceListeners() {
|
||||
onOpen(Components.BANK_DEPOSIT_BOX_11) { player, _ ->
|
||||
player.packetDispatch.sendString(
|
||||
"The Bank of ${ServerConstants.SERVER_NAME} - Deposit Box",
|
||||
Components.BANK_DEPOSIT_BOX_11,
|
||||
12
|
||||
)
|
||||
setInterfaceText(player, "The Bank of ${ServerConstants.SERVER_NAME} - Deposit Box", Components.BANK_DEPOSIT_BOX_11, 12)
|
||||
return@onOpen true
|
||||
}
|
||||
on(Components.BANK_DEPOSIT_BOX_11, ::handleDepositBoxMenu)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue