From 02ace8145f5cb55dba068baa1e21e41a8482e8d7 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Sun, 11 May 2014 13:31:25 -0500 Subject: [PATCH] Current for BC 6.0.12 release --- .../modules/BCHelpers/AECableSchematicTile.java | 6 +++--- .../modules/BCHelpers/AEGenericSchematicTile.java | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/integration/modules/BCHelpers/AECableSchematicTile.java b/integration/modules/BCHelpers/AECableSchematicTile.java index 19408a30..c369f1dc 100644 --- a/integration/modules/BCHelpers/AECableSchematicTile.java +++ b/integration/modules/BCHelpers/AECableSchematicTile.java @@ -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 diff --git a/integration/modules/BCHelpers/AEGenericSchematicTile.java b/integration/modules/BCHelpers/AEGenericSchematicTile.java index 73b1a104..e5cd279b 100644 --- a/integration/modules/BCHelpers/AEGenericSchematicTile.java +++ b/integration/modules/BCHelpers/AEGenericSchematicTile.java @@ -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 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) {