From 0dd9e4873db032005436fefcbf246fa32bd103f1 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Mon, 31 Jan 2011 00:02:47 +0000 Subject: Fixed BLOCK_DAMAGED --- src/main/java/net/minecraft/server/NetServerHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/minecraft') 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) { -- cgit v1.2.3