mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fixed swapping of finite fluids with negative densities. (#4237)
This commit is contained in:
1 parent
434f95c66e
commit
4d327df383
1 file changed
+2
-2
@@ -233,9 +233,9 @@ public class BlockFluidFinite extends BlockFluidBase
|
||||
{
|
||||
IBlockState state = world.getBlockState(other);
|
||||
world.setBlockState(other, myState.withProperty(LEVEL, amtToInput - 1), 3);
|
||||
world.setBlockState(other, state, 3);
|
||||
world.setBlockState(pos, state, 3);
|
||||
world.scheduleUpdate(other, this, tickRate);
|
||||
world.scheduleUpdate(other, state.getBlock(), state.getBlock().tickRate(world));
|
||||
world.scheduleUpdate(pos, state.getBlock(), state.getBlock().tickRate(world));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user