Fixed Bug: #0761 - Molecular Assembler not pushing items out
This commit is contained in:
@@ -133,6 +133,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn
|
|||||||
forcePlan = false;
|
forcePlan = false;
|
||||||
myPlan = null;
|
myPlan = null;
|
||||||
myPattern = null;
|
myPattern = null;
|
||||||
|
pushDirection = ForgeDirection.UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateSleepyness();
|
updateSleepyness();
|
||||||
@@ -206,6 +207,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn
|
|||||||
NBTTagCompound pdata = new NBTTagCompound();
|
NBTTagCompound pdata = new NBTTagCompound();
|
||||||
pattern.writeToNBT( pdata );
|
pattern.writeToNBT( pdata );
|
||||||
data.setTag( "myPlan", pdata );
|
data.setTag( "myPlan", pdata );
|
||||||
|
data.setInteger( "pushDirection", pushDirection.ordinal() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -230,6 +232,7 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn
|
|||||||
{
|
{
|
||||||
forcePlan = true;
|
forcePlan = true;
|
||||||
myPlan = ph;
|
myPlan = ph;
|
||||||
|
pushDirection = ForgeDirection.getOrientation( data.getInteger( "pushDirection" ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -439,7 +442,9 @@ public class TileMolecularAssembler extends AENetworkInvTile implements IAEAppEn
|
|||||||
{
|
{
|
||||||
forcePlan = false;
|
forcePlan = false;
|
||||||
myPlan = null;
|
myPlan = null;
|
||||||
|
pushDirection = ForgeDirection.UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
ejectHeldItems();
|
ejectHeldItems();
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
Reference in New Issue
Block a user