From 20de41cacaa9c28ecbc9b07e5c1faa240f4d789c Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Fri, 27 Jun 2014 00:45:10 -0500 Subject: [PATCH] Fix forcePlan Flag. --- tile/crafting/TileMolecularAssembler.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tile/crafting/TileMolecularAssembler.java b/tile/crafting/TileMolecularAssembler.java index d386b8dc..b4dcd061 100644 --- a/tile/crafting/TileMolecularAssembler.java +++ b/tile/crafting/TileMolecularAssembler.java @@ -122,6 +122,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn else { progress = 0; + forcePlan = false; myPlan = null; myPattern = null; } @@ -189,7 +190,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn @Override public void writeToNBT(NBTTagCompound data) { - if ( forcePlan ) + if ( forcePlan && myPlan != null ) { ItemStack pattern = myPlan.getPattern(); if ( pattern != null ) @@ -426,8 +427,10 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn pushOut( output.copy() ); if ( inv.getStackInSlot( 10 ) == null ) + { + forcePlan = false; myPlan = null; - + } ejectHeldItems(); updateSleepyness();