summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-01-31 00:02:47 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-01-31 00:02:47 +0000
commit0dd9e4873db032005436fefcbf246fa32bd103f1 (patch)
treeb3cfcb699b3ccf2dac07ddfe16cc5df236db2f69 /src/main/java/net/minecraft
parent1c9e7f9aee6ad5d7d1cde9757c64c4956ec4800a (diff)
downloadcraftbukkit-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.java2
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) {