diff --git a/src/main/java/net/minecraft/server/BlockDoor.java b/src/main/java/net/minecraft/server/BlockDoor.java index 046ffb8ddf..9c3ae2e1e4 100644 --- a/src/main/java/net/minecraft/server/BlockDoor.java +++ b/src/main/java/net/minecraft/server/BlockDoor.java @@ -167,7 +167,7 @@ public class BlockDoor extends Block { this.b(world, i, j, k, l, 0); } // CraftBukkit start - } else if (l > 0 && Block.e(l).isPowerSource()) { + } else if (block.isPowerSource()) { org.bukkit.World bworld = world.getWorld(); org.bukkit.block.Block bukkitBlock = bworld.getBlockAt(i, j, k); org.bukkit.block.Block blockTop = bworld.getBlockAt(i, j + 1, k);