Fixed trapdoors + few comments

This commit is contained in:
Nathan Adams
2011-11-23 00:08:56 +00:00
parent 929e5ff6c7
commit 03762600df
3 changed files with 6 additions and 6 deletions

View File

@@ -166,7 +166,7 @@ public class BlockDoor extends Block {
if (!world.isStatic) {
this.b(world, i, j, k, i1, 0);
}
} else if (l > 0 && Block.byId[l].isPowerSource()) {
} else if (l > 0) {
// CraftBukkit start
org.bukkit.World bworld = world.getWorld();
org.bukkit.block.Block block = bworld.getBlockAt(i, j, k);