mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
1 parent
5e17742c45
commit
3cfe0ee0d6
1 file changed
+1
-1
@@ -151,7 +151,7 @@ public class TileEntityTurbineCasing extends TileEntityMultiblock<SynchronizedTu
|
||||
@Override
|
||||
public double getMaxEnergy()
|
||||
{
|
||||
return structure.getEnergyCapacity();
|
||||
return structure != null ? structure.getEnergyCapacity() : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user