diff --git a/src/engine/net/client/handlers/ObjectActionMsgHandler.java b/src/engine/net/client/handlers/ObjectActionMsgHandler.java index e43debd9..68f57119 100644 --- a/src/engine/net/client/handlers/ObjectActionMsgHandler.java +++ b/src/engine/net/client/handlers/ObjectActionMsgHandler.java @@ -275,9 +275,9 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { } if (waterbucketBypass == false) { - String powerString = item.template.item_power_action.keySet().iterator().next(); + String powerString = item.template.item_power_grant.keySet().iterator().next(); PowersBase powerAction = PowersManager.powersBaseByIDString.get(powerString); - int powerValue = item.template.item_power_action.get(powerString)[0]; + int powerValue = item.template.item_power_grant.get(powerString); PowersManager.applyPower(player, target, Vector3fImmutable.ZERO, powerAction.getToken(), powerValue, true); } itemMan.consume(item);