diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-31 00:02:47 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-31 00:02:47 +0000 |
commit | 0dd9e4873db032005436fefcbf246fa32bd103f1 (patch) | |
tree | b3cfcb699b3ccf2dac07ddfe16cc5df236db2f69 /src/main/java/net/minecraft | |
parent | 1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a (diff) | |
download | craftbukkit-0dd9e4873db032005436fefcbf246fa32bd103f1.tar craftbukkit-0dd9e4873db032005436fefcbf246fa32bd103f1.tar.gz craftbukkit-0dd9e4873db032005436fefcbf246fa32bd103f1.tar.lz craftbukkit-0dd9e4873db032005436fefcbf246fa32bd103f1.tar.xz craftbukkit-0dd9e4873db032005436fefcbf246fa32bd103f1.zip |
Fixed BLOCK_DAMAGED
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index 111276f6..29e5f9e2 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -303,7 +303,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { // CraftBukkit start CraftPlayer player = getPlayer(); - CraftBlock block = (CraftBlock) player.getWorld().getBlockAt(l, i1, j1); + CraftBlock block = (CraftBlock) player.getWorld().getBlockAt(i, j, k); int blockId = block.getTypeId(); float damage = 0; if(Block.byId[blockId] != null) { |