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:
committed by
shartte
parent
344958aefb
commit
6e6e51dc20
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user