fixed bug where water wasn't flowing
Dieser Commit ist enthalten in:
Ursprung
0aa7b970ad
Commit
8e66e52958
@ -113,8 +113,8 @@ public class BlockFlowing extends BlockFluids {
|
|||||||
}
|
}
|
||||||
// Craftbukkit all four cardinal directions. Do not change the order!
|
// Craftbukkit 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 };
|
||||||
for (BlockFace currentFace : faces) {
|
|
||||||
int index = 0;
|
int index = 0;
|
||||||
|
for (BlockFace currentFace : faces) {
|
||||||
if (aflag[index]) {
|
if (aflag[index]) {
|
||||||
BlockFromToEvent event = new BlockFromToEvent(Type.BLOCK_FLOW, source, currentFace);
|
BlockFromToEvent event = new BlockFromToEvent(Type.BLOCK_FLOW, source, currentFace);
|
||||||
((WorldServer) world).getServer().getPluginManager().callEvent(event);
|
((WorldServer) world).getServer().getPluginManager().callEvent(event);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren