From 5345f239bee3b2944d4473c7251bc13a37c26291 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Wed, 30 Jul 2014 00:05:33 -0500 Subject: [PATCH] Fixed Bug: #0761 - Molecular Assembler not pushing items out --- tile/crafting/TileMolecularAssembler.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tile/crafting/TileMolecularAssembler.java b/tile/crafting/TileMolecularAssembler.java index db338bba..1c0a53bf 100644 --- a/tile/crafting/TileMolecularAssembler.java +++ b/tile/crafting/TileMolecularAssembler.java @@ -133,6 +133,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn forcePlan = false; myPlan = null; myPattern = null; + pushDirection = ForgeDirection.UNKNOWN; } updateSleepyness(); @@ -206,6 +207,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn NBTTagCompound pdata = new NBTTagCompound(); pattern.writeToNBT( pdata ); data.setTag( "myPlan", pdata ); + data.setInteger( "pushDirection", pushDirection.ordinal() ); } } @@ -230,6 +232,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn { forcePlan = true; myPlan = ph; + pushDirection = ForgeDirection.getOrientation( data.getInteger( "pushDirection" ) ); } } } @@ -439,7 +442,9 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn { forcePlan = false; myPlan = null; + pushDirection = ForgeDirection.UNKNOWN; } + ejectHeldItems(); try