From 8e66e52958886ce82b05603f984a452e7b1459d3 Mon Sep 17 00:00:00 2001 From: durron597 Date: Wed, 5 Jan 2011 05:33:32 -0500 Subject: [PATCH] fixed bug where water wasn't flowing --- src/main/java/net/minecraft/server/BlockFlowing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/BlockFlowing.java b/src/main/java/net/minecraft/server/BlockFlowing.java index d5d7ef8f4b..e23ddf19c6 100644 --- a/src/main/java/net/minecraft/server/BlockFlowing.java +++ b/src/main/java/net/minecraft/server/BlockFlowing.java @@ -113,8 +113,8 @@ public class BlockFlowing extends BlockFluids { } // Craftbukkit all four cardinal directions. Do not change the order! BlockFace[] faces = new BlockFace[]{ BlockFace.North, BlockFace.South, BlockFace.East, BlockFace.West }; + int index = 0; for (BlockFace currentFace : faces) { - int index = 0; if (aflag[index]) { BlockFromToEvent event = new BlockFromToEvent(Type.BLOCK_FLOW, source, currentFace); ((WorldServer) world).getServer().getPluginManager().callEvent(event);