Commit 08e82e39c47bc9366cabad8fded5368c7d299a03
1 parent
3470648e
update to latest mcp mappings
Showing
1 changed file
with
1 additions
and
1 deletions
java/common/com/mumfrey/liteloader/core/CallbackProxyCommon.java
@@ -89,7 +89,7 @@ public abstract class CallbackProxyCommon | @@ -89,7 +89,7 @@ public abstract class CallbackProxyCommon | ||
89 | if (packet.getStatus() == C07PacketPlayerDigging.Action.START_DESTROY_BLOCK) | 89 | if (packet.getStatus() == C07PacketPlayerDigging.Action.START_DESTROY_BLOCK) |
90 | { | 90 | { |
91 | NetHandlerPlayServer netHandler = e.getSource(); | 91 | NetHandlerPlayServer netHandler = e.getSource(); |
92 | - if (!CallbackProxyCommon.eventBroker.onPlayerDigging(netHandler, packet.func_179715_a(), netHandler.playerEntity)) | 92 | + if (!CallbackProxyCommon.eventBroker.onPlayerDigging(netHandler, packet.getPosition(), netHandler.playerEntity)) |
93 | { | 93 | { |
94 | e.cancel(); | 94 | e.cancel(); |
95 | } | 95 | } |