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
@@ -42,9 +42,9 @@ public class IC2PowerSinkAdapter extends BasicSink implements IC2PowerSink
|
||||
|
||||
private final Set<EnumFacing> validFaces = EnumSet.allOf( EnumFacing.class );
|
||||
|
||||
public IC2PowerSinkAdapter( IExternalPowerSink powerSink )
|
||||
public IC2PowerSinkAdapter( TileEntity tileEntity, IExternalPowerSink powerSink )
|
||||
{
|
||||
super( (TileEntity) powerSink, 0, Integer.MAX_VALUE );
|
||||
super( tileEntity, 0, Integer.MAX_VALUE );
|
||||
this.powerSink = powerSink;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user