mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 15:56:02 +00:00
Fix J6 compile issue with ModelFluid.
This commit is contained in:
1 parent
3665d7bf73
commit
e0f0273c5e
1 file changed
+1
-1
@@ -156,7 +156,7 @@ public class ModelFluid implements IModelCustomData
|
||||
int flowRound = -1000;
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user