set idle power usage of expanded interface to a power of four

This commit is contained in:
Salomão
2021-06-21 16:25:26 -03:00
parent 42f4ef2855
commit aa5d5e3623
5 changed files with 4 additions and 6 deletions
@@ -621,6 +621,8 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn
BlockPos blockPos = this.getLocation().getPos();
Platform.spawnDrops( world, blockPos, dropList );
}
this.gridProxy.setIdlePowerUsage( Math.pow( 4, ( this.getInstalledUpgrades( Upgrades.PATTERN_EXPANSION ) ) ) );
}
@Override