Changed access to use this qualifier
This commit is contained in:
@@ -43,12 +43,12 @@ public class AECableSchematicTile extends AEGenericSchematicTile implements IPar
|
||||
public void rotateLeft(IBuilderContext context)
|
||||
{
|
||||
CableBusContainer cbc = new CableBusContainer( this );
|
||||
cbc.readFromNBT( tileNBT );
|
||||
cbc.readFromNBT( this.tileNBT );
|
||||
|
||||
cbc.rotateLeft();
|
||||
|
||||
tileNBT = new NBTTagCompound();
|
||||
cbc.writeToNBT( tileNBT );
|
||||
this.tileNBT = new NBTTagCompound();
|
||||
cbc.writeToNBT( this.tileNBT );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -42,16 +42,16 @@ public class AEGenericSchematicTile extends SchematicTile
|
||||
tcb.getDrops( tile.getWorldObj(), tile.xCoord, tile.yCoord, tile.zCoord, list );
|
||||
}
|
||||
|
||||
storedRequirements = list.toArray( new ItemStack[list.size()] );
|
||||
this.storedRequirements = list.toArray( new ItemStack[list.size()] );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void rotateLeft(IBuilderContext context)
|
||||
{
|
||||
if ( tileNBT.hasKey( "orientation_forward" ) && tileNBT.hasKey( "orientation_up" ) )
|
||||
if ( this.tileNBT.hasKey( "orientation_forward" ) && this.tileNBT.hasKey( "orientation_up" ) )
|
||||
{
|
||||
String forward = tileNBT.getString( "orientation_forward" );
|
||||
String up = tileNBT.getString( "orientation_up" );
|
||||
String forward = this.tileNBT.getString( "orientation_forward" );
|
||||
String up = this.tileNBT.getString( "orientation_up" );
|
||||
|
||||
if ( forward != null && up != null )
|
||||
{
|
||||
@@ -63,8 +63,8 @@ public class AEGenericSchematicTile extends SchematicTile
|
||||
fdForward = Platform.rotateAround( fdForward, ForgeDirection.DOWN );
|
||||
fdUp = Platform.rotateAround( fdUp, ForgeDirection.DOWN );
|
||||
|
||||
tileNBT.setString( "orientation_forward", fdForward.name() );
|
||||
tileNBT.setString( "orientation_up", fdUp.name() );
|
||||
this.tileNBT.setString( "orientation_forward", fdForward.name() );
|
||||
this.tileNBT.setString( "orientation_up", fdUp.name() );
|
||||
}
|
||||
catch (Throwable ignored)
|
||||
{
|
||||
|
||||
@@ -29,10 +29,10 @@ public class AERotatableBlockSchematic extends SchematicBlock
|
||||
@Override
|
||||
public void rotateLeft(IBuilderContext context)
|
||||
{
|
||||
if ( meta < 6 )
|
||||
if ( this.meta < 6 )
|
||||
{
|
||||
ForgeDirection d = Platform.rotateAround( ForgeDirection.values()[meta], ForgeDirection.DOWN );
|
||||
meta = d.ordinal();
|
||||
ForgeDirection d = Platform.rotateAround( ForgeDirection.values()[this.meta], ForgeDirection.DOWN );
|
||||
this.meta = d.ordinal();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ public class BCPipeInventory implements IMEInventory<IAEItemStack>
|
||||
final ForgeDirection dir;
|
||||
|
||||
public BCPipeInventory(TileEntity _te, ForgeDirection _dir) {
|
||||
te = _te;
|
||||
dir = _dir;
|
||||
this.te = _te;
|
||||
this.dir = _dir;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -50,12 +50,12 @@ public class BCPipeInventory implements IMEInventory<IAEItemStack>
|
||||
{
|
||||
if ( mode == Actionable.SIMULATE )
|
||||
{
|
||||
if ( BC.instance.canAddItemsToPipe( te, input.getItemStack(), dir ) )
|
||||
if ( BC.instance.canAddItemsToPipe( this.te, input.getItemStack(), this.dir ) )
|
||||
return null;
|
||||
return input;
|
||||
}
|
||||
|
||||
if ( BC.instance.addItemsToPipe( te, input.getItemStack(), dir ) )
|
||||
if ( BC.instance.addItemsToPipe( this.te, input.getItemStack(), this.dir ) )
|
||||
return null;
|
||||
return input;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user