Converted tanners to Kotlin

Fixed snake hide tanning
Fixed interaction with Canifis tanner
This commit is contained in:
thelemir
2024-05-31 09:49:31 +00:00
committed by Ryan
parent 66b1efdaa3
commit da6f05f8ce
9 changed files with 202 additions and 300 deletions
+2 -2
View File
@@ -126,8 +126,8 @@ class Shops : StartupListener, TickListener, InteractionListener, InterfaceListe
override fun defineListeners() {
on(IntType.NPC, "trade", "shop"){ player, node ->
val npc = node as NPC
if (npc.id == 2824) {
TanningProduct.open(player, 2824)
if (npc.id == 2824 || npc.id == 1041 || npc.id == 804) {
TanningProduct.open(player, npc.id)
return@on true
}
if (npc.id == 7601) {