Fix J6 compile issue with ModelFluid.
This commit is contained in:
parent
3665d7bf73
commit
e0f0273c5e
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ public class ModelFluid implements IModelCustomData
|
||||||
int flowRound = -1000;
|
int flowRound = -1000;
|
||||||
if(stateOption.isPresent())
|
if(stateOption.isPresent())
|
||||||
{
|
{
|
||||||
flowRound = (int)Math.round(Math.toDegrees(stateOption.get().getValue(BlockFluidBase.FLOW_DIRECTION)));
|
flowRound = (int)Math.round(Math.toDegrees(stateOption.get().getValue(BlockFluidBase.FLOW_DIRECTION).doubleValue()));
|
||||||
}
|
}
|
||||||
return flowRound;
|
return flowRound;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue