Fix J6 compile issue with ModelFluid.

This commit is contained in:
LexManos 2015-12-31 14:40:32 -08:00
parent 3665d7bf73
commit e0f0273c5e

View file

@ -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;
} }