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

@@ -165,7 +165,7 @@ public class BlockButton extends Block {
//Allow the lever to change the current
int old = (j1 != 8) ? 1 : 0;
int current = (j1 == 8) ? 1 : 0;
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.Self, old, current);
BlockRedstoneEvent bre = new BlockRedstoneEvent(block, BlockFace.SELF, old, current);
((WorldServer) world).getServer().getPluginManager().callEvent(bre);
if ((bre.getNewCurrent() > 0) == (j1 == 8)) {
world.c(i, j, k, i1 + j1);