diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-02-23 13:55:07 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-02-23 13:56:43 +0100 |
commit | 332d9c4f1884a03152c11ccb0b63c2e3127618ea (patch) | |
tree | cb60c2ee81f6d81d40cf1ba0f75a98d5ce631e97 /src/main/java/net/minecraft | |
parent | bfca34cad47a4c7dcc31f67afe53bf4db85be15d (diff) | |
download | craftbukkit-332d9c4f1884a03152c11ccb0b63c2e3127618ea.tar craftbukkit-332d9c4f1884a03152c11ccb0b63c2e3127618ea.tar.gz craftbukkit-332d9c4f1884a03152c11ccb0b63c2e3127618ea.tar.lz craftbukkit-332d9c4f1884a03152c11ccb0b63c2e3127618ea.tar.xz craftbukkit-332d9c4f1884a03152c11ccb0b63c2e3127618ea.zip |
BlockStationary fix
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockStationary.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |