mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Set densityDir in BlockFluidBase's constructor, closes #737
This commit is contained in:
1 parent
81efd38fee
commit
71ececdbb4
1 file changed
+1
@@ -58,6 +58,7 @@ public abstract class BlockFluidBase extends Block implements IFluidBlock
|
||||
this.temperature = fluid.temperature;
|
||||
this.maxScaledLight = fluid.luminosity;
|
||||
this.tickRate = fluid.viscosity / 200;
|
||||
this.densityDir = fluid.density > 0 ? -1 : 1;
|
||||
fluid.setBlockID(id);
|
||||
|
||||
displacementIds.putAll(defaultDisplacementIds);
|
||||
|
||||
Reference in new issue
Block a user