Creative Energy Cube now won't be drained of or receive power.

This commit is contained in:
Aidan Brady committed 2014-07-31 19:19:03 -04:00
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();