diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-15 20:16:30 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-01-15 20:19:10 +0000 |
commit | 2184d240db052d3679b47565c7e9c2cc5566b433 (patch) | |
tree | 812957e1f73fd96d005d57a7ee4afa1f0a4f69f8 /src/main/java/net/minecraft/server/BlockFlowing.java | |
parent | 5aa1bc269d22849533544af82cd0164ed1049522 (diff) | |
download | craftbukkit-2184d240db052d3679b47565c7e9c2cc5566b433.tar craftbukkit-2184d240db052d3679b47565c7e9c2cc5566b433.tar.gz craftbukkit-2184d240db052d3679b47565c7e9c2cc5566b433.tar.lz craftbukkit-2184d240db052d3679b47565c7e9c2cc5566b433.tar.xz craftbukkit-2184d240db052d3679b47565c7e9c2cc5566b433.zip |
Changed BlockFace enum to match coding standards
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockFlowing.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockFlowing.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockFlowing.java b/src/main/java/net/minecraft/server/BlockFlowing.java index c4fbfcf5..64bfe09d 100644 --- a/src/main/java/net/minecraft/server/BlockFlowing.java +++ b/src/main/java/net/minecraft/server/BlockFlowing.java @@ -92,7 +92,7 @@ public class BlockFlowing extends BlockFluids { CraftBlock source = (CraftBlock) ((WorldServer) world).getWorld().getBlockAt(i1, j1, k1); if (l(world, i1, j1 - 1, k1)) { // Craftbucket send "down" to the server - BlockFromToEvent blockFlow = new BlockFromToEvent(Type.BLOCK_FLOW, source, BlockFace.Down); + BlockFromToEvent blockFlow = new BlockFromToEvent(Type.BLOCK_FLOW, source, BlockFace.DOWN); ((WorldServer) world).getServer().getPluginManager().callEvent(blockFlow); if (!blockFlow.isCancelled()) { @@ -114,7 +114,7 @@ public class BlockFlowing extends BlockFluids { return; } // CraftBukkit start - all four cardinal directions. Do not change the order! - BlockFace[] faces = new BlockFace[]{ BlockFace.North, BlockFace.South, BlockFace.East, BlockFace.West }; + BlockFace[] faces = new BlockFace[]{ BlockFace.NORTH, BlockFace.SOUTH, BlockFace.EAST, BlockFace.WEST }; int index = 0; for (BlockFace currentFace: faces) { if (aflag[index]) { |