Code cleanup, fixed doors, chunk entity fetching

This commit is contained in:
Tahg
2011-03-11 16:25:35 -05:00
parent 786fdfb9fe
commit 078f48c0fb
17 changed files with 61 additions and 52 deletions

View File

@@ -105,8 +105,8 @@ public class BlockSign extends BlockContainer {
super.a(world, i, j, k, l);
//Craftbukkit start
if(net.minecraft.server.Block.byId[l].c()) {
// Craftbukkit start
if (net.minecraft.server.Block.byId[l].c()) {
CraftWorld craftWorld = ((WorldServer) world).getWorld();
CraftServer server = ((WorldServer) world).getServer();
Block block = craftWorld.getBlockAt(i, j, k);
@@ -114,6 +114,6 @@ public class BlockSign extends BlockContainer {
BlockRedstoneEvent eventRedstone = new BlockRedstoneEvent(block, power, power);
server.getPluginManager().callEvent(eventRedstone);
}
//Craftbukkit end
// Craftbukkit end
}
}