Added/Fixed Right Click Banking For Fadli(Duel Arena Banker)
This commit is contained in:
1 parent
803346323b
commit
500441d551
1 file changed
+17
@@ -0,0 +1,17 @@
|
||||
package plugin.npc.fadli
|
||||
|
||||
import com.rs2.event.EventContext
|
||||
import com.rs2.event.EventSubscriber
|
||||
import com.rs2.event.SubscribesTo
|
||||
import com.rs2.event.impl.NpcSecondClickEvent
|
||||
import com.rs2.game.players.Player
|
||||
|
||||
@SubscribesTo(NpcSecondClickEvent::class)
|
||||
class SecondClick : EventSubscriber<NpcSecondClickEvent> {
|
||||
|
||||
override fun subscribe(context: EventContext, player: Player, event: NpcSecondClickEvent) {
|
||||
if (event.npc == 958) {
|
||||
player.packetSender.openUpBank()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user