Fix wine of zamorak pickup interaction.
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ import rs09.game.interaction.InteractionListener
|
||||
class WineOfZamorakInteraction : InteractionListener() {
|
||||
|
||||
override fun defineListeners() {
|
||||
on(Items.WINE_OF_ZAMORAK_245,ITEM,"take"){player, wine ->
|
||||
on(Items.WINE_OF_ZAMORAK_245,GROUNDITEM,"take"){player, wine ->
|
||||
if(player.location.regionId != 11574){
|
||||
PickupHandler.take(player, wine as GroundItem)
|
||||
return@on true
|
||||
@@ -24,4 +24,4 @@ class WineOfZamorakInteraction : InteractionListener() {
|
||||
return@on true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user