Current for BC 6.0.12 release

This commit is contained in:
AlgorithmX2 2014-05-11 13:31:25 -05:00
parent a04bc65e35
commit 02ace8145f
2 changed files with 9 additions and 9 deletions

View file

@ -25,12 +25,12 @@ public class AECableSchematicTile extends AEGenericSchematicTile implements IPar
public void rotateLeft(IBuilderContext context)
{
CableBusContainer cbc = new CableBusContainer( this );
cbc.readFromNBT( cpt );
cbc.readFromNBT( tileNBT );
cbc.rotateLeft();
cpt = new NBTTagCompound();
cbc.writeToNBT( cpt );
tileNBT = new NBTTagCompound();
cbc.writeToNBT( tileNBT );
}
@Override

View file

@ -14,7 +14,7 @@ public class AEGenericSchematicTile extends SchematicTile
{
@Override
public void writeRequirementsToSchematic(IBuilderContext context, int x, int y, int z)
public void writeRequirementsToBlueprint(IBuilderContext context, int x, int y, int z)
{
TileEntity tile = context.world().getTileEntity( x, y, z );
ArrayList<ItemStack> list = new ArrayList();
@ -30,10 +30,10 @@ public class AEGenericSchematicTile extends SchematicTile
@Override
public void rotateLeft(IBuilderContext context)
{
if ( cpt.hasKey( "orientation_forward" ) && cpt.hasKey( "orientation_up" ) )
if ( tileNBT.hasKey( "orientation_forward" ) && tileNBT.hasKey( "orientation_up" ) )
{
String forward = cpt.getString( "orientation_forward" );
String up = cpt.getString( "orientation_up" );
String forward = tileNBT.getString( "orientation_forward" );
String up = tileNBT.getString( "orientation_up" );
if ( forward != null && up != null )
{
@ -45,8 +45,8 @@ public class AEGenericSchematicTile extends SchematicTile
fdForward = Platform.rotateAround( fdForward, ForgeDirection.DOWN );
fdUp = Platform.rotateAround( fdUp, ForgeDirection.DOWN );
cpt.setString( "orientation_forward", fdForward.name() );
cpt.setString( "orientation_up", fdUp.name() );
tileNBT.setString( "orientation_forward", fdForward.name() );
tileNBT.setString( "orientation_up", fdUp.name() );
}
catch (Throwable t)
{