Set densityDir in BlockFluidBase's constructor, closes #737
This commit is contained in:
parent
81efd38fee
commit
71ececdbb4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue