Archiviert
13
0

BlockStationary fix

Dieser Commit ist enthalten in:
Erik Broes 2011-02-23 13:55:07 +01:00
Ursprung bfca34cad4
Commit 332d9c4f18

Datei anzeigen

@ -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);