mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-27 17:00:34 +01:00
fixed bug where water wasn't flowing
This commit is contained in:
parent
0aa7b970ad
commit
8e66e52958
1 changed files with 1 additions and 1 deletions
|
@ -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 };
|
||||||
|
int index = 0;
|
||||||
for (BlockFace currentFace : faces) {
|
for (BlockFace currentFace : faces) {
|
||||||
int index = 0;
|
|
||||||
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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue