From 332d9c4f1884a03152c11ccb0b63c2e3127618ea Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Wed, 23 Feb 2011 13:55:07 +0100 Subject: BlockStationary fix --- src/main/java/net/minecraft/server/BlockStationary.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/minecraft/server') diff --git a/src/main/java/net/minecraft/server/BlockStationary.java b/src/main/java/net/minecraft/server/BlockStationary.java index dfe1e58d..b69c0417 100644 --- a/src/main/java/net/minecraft/server/BlockStationary.java +++ b/src/main/java/net/minecraft/server/BlockStationary.java @@ -58,7 +58,7 @@ public class BlockStationary extends BlockFluids { if (j1 == 0) { if (this.j(world, i - 1, j, k) || this.j(world, i + 1, j, k) || this.j(world, i, j, k - 1) || this.j(world, i, j, k + 1) || this.j(world, i, j - 1, k) || this.j(world, i, j + 1, k)) { // CraftBukkit start: prevent lava putting something on fire. - org.bukkit.block.Block theBlock = cworld.getBlockAt(k, l, i1); + org.bukkit.block.Block theBlock = cworld.getBlockAt(i, j, k); if (theBlock.getTypeId() != Block.FIRE.id){ BlockIgniteEvent event = new BlockIgniteEvent(theBlock, igniteCause, thePlayer); -- cgit v1.2.3