Separated TileEntity and External Power Sink arguments to IC2 to emphasize that they don't necessarily need to be the same, and that a tile entity is required for IC2.

This commit is contained in:
Sebastian Hartte
2016-10-28 20:16:39 +02:00
committed by shartte
parent 344958aefb
commit 6e6e51dc20
3 changed files with 11 additions and 8 deletions
@@ -64,10 +64,11 @@ public abstract class AERootPoweredTile extends AEBaseInvTile implements IAEPowe
public AERootPoweredTile()
{
forgeEnergyAdapter = new ForgeEnergyAdapter( this );
if ( teslaConsumerCapability != null ) {
if( teslaConsumerCapability != null )
{
teslaEnergyAdapter = new TeslaEnergyAdapter( this );
}
ic2Sink = IC2.createPowerSink(this);
ic2Sink = IC2.createPowerSink( this, this );
ic2Sink.setValidFaces( internalPowerSides );
}