diff --git a/2006Scape Server/plugins/plugin/npc/fadli/SecondClick.kt b/2006Scape Server/plugins/plugin/npc/fadli/SecondClick.kt new file mode 100644 index 00000000..b1586e29 --- /dev/null +++ b/2006Scape Server/plugins/plugin/npc/fadli/SecondClick.kt @@ -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 { + + override fun subscribe(context: EventContext, player: Player, event: NpcSecondClickEvent) { + if (event.npc == 958) { + player.packetSender.openUpBank() + } + } +} \ No newline at end of file