mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Creative Energy Cube now won't be drained of or receive power.
This commit is contained in:
1 parent
ed4aa7671c
commit
da35b509fd
4 files changed
+10
-2
No files matched your search
@@ -247,8 +247,9 @@ public class TileEntityEnergyCube extends TileEntityElectricBlock implements IPe
|
||||
{
|
||||
if(tier == EnergyCubeTier.CREATIVE)
|
||||
{
|
||||
energy = Integer.MAX_VALUE / 2D;
|
||||
return;
|
||||
}
|
||||
|
||||
super.setEnergy(energy);
|
||||
|
||||
int newRedstoneLevel = getRedstoneLevel();
|
||||
|
||||
Reference in new issue
Block a user