summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authordurron597 <martin.jared@gmail.com>2011-01-05 05:33:32 -0500
committerdurron597 <martin.jared@gmail.com>2011-01-05 05:33:32 -0500
commit8e66e52958886ce82b05603f984a452e7b1459d3 (patch)
tree829151d9f6d35159c0bb7e6ccc15328df9c0755d /src/main/java/net
parent0aa7b970adc4bb7026755466f1c7ef4a58e33f5f (diff)
downloadcraftbukkit-8e66e52958886ce82b05603f984a452e7b1459d3.tar
craftbukkit-8e66e52958886ce82b05603f984a452e7b1459d3.tar.gz
craftbukkit-8e66e52958886ce82b05603f984a452e7b1459d3.tar.lz
craftbukkit-8e66e52958886ce82b05603f984a452e7b1459d3.tar.xz
craftbukkit-8e66e52958886ce82b05603f984a452e7b1459d3.zip
fixed bug where water wasn't flowing
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/BlockFlowing.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockFlowing.java b/src/main/java/net/minecraft/server/BlockFlowing.java
index d5d7ef8f..e23ddf19 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);