Changed BlockFace enum to match coding standards

This commit is contained in:
Dinnerbone
2011-01-15 20:16:30 +00:00
parent 5aa1bc269d
commit 2184d240db
8 changed files with 18 additions and 18 deletions

View File

@@ -111,7 +111,7 @@ public class BlockRedstoneTorch extends BlockTorch {
// Craftbukkit start
CraftBlock block = (CraftBlock) ((WorldServer) world).getWorld().getBlockAt(i, j, k);
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.Self, flag ? 15 : 0, flag ? 0 : 15);
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.SELF, flag ? 15 : 0, flag ? 0 : 15);
((WorldServer) world).getServer().getPluginManager().callEvent(bre);
if ((bre.getNewCurrent() != 0) == flag) {
return;