Browse Source

Magic number removed

combat-2
MagicBot 8 months ago
parent
commit
3df1da364c
  1. 2
      src/engine/net/client/handlers/ObjectActionMsgHandler.java

2
src/engine/net/client/handlers/ObjectActionMsgHandler.java

@ -250,7 +250,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { @@ -250,7 +250,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
// test character targeted
if (item.template.template_id == 910005) {
if (item.template.item_type.equals(Enum.ItemType.BUCKET)) {
// test for valid target type
if (target.getObjectType() == Enum.GameObjectType.PlayerCharacter)

Loading…
Cancel
Save