Fixed ItemActionPacket which broke useWith in some situations

Fixes Dwarf Cannon Quest
Fixes Witch's House Quest
Fixes Demon Slayer Quest
This commit is contained in:
Byte 2022-10-01 07:45:23 +00:00 committed by Ryan
parent c4901fa4b8
commit fe6d04c620

View file

@ -195,7 +195,7 @@ public class ItemActionPacket implements IncomingPacket {
if(player.getZoneMonitor().useWith(used,object)){
return;
}
event = new NodeUsageEvent(player, 0, used, object);
event = new NodeUsageEvent(player, 0, used, child != null ? child : object);
/**
* Farming-specific handler for item -> patch