mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-08 19:04:46 +00:00
1 file changed
+3
-1
@@ -147,7 +147,9 @@ public class TileEntityTurbineCasing extends TileEntityMultiblock<SynchronizedTu
|
||||
@Override
|
||||
public double getMaxEnergy()
|
||||
{
|
||||
return structure.getEnergyCapacity();
|
||||
if(structure != null)
|
||||
return structure.getEnergyCapacity();
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user