Fixed machines not saving state after being installed
This commit is contained in:
parent
ff91bf72fe
commit
55ed9cd1f1
3 changed files with 3 additions and 0 deletions
|
@ -124,6 +124,7 @@ public abstract class TileEntityAdvancedElectricMachine<RECIPE extends AdvancedM
|
|||
factory.ejectorComponent = ejectorComponent;
|
||||
factory.ejectorComponent.sideData = factory.sideOutputs.get(5);
|
||||
factory.ejectorComponent.tileEntity = factory;
|
||||
factory.ejectorComponent.trackers = new int[factory.ejectorComponent.sideData.availableSlots.length];
|
||||
factory.recipeType = type;
|
||||
|
||||
//Advanced Machine
|
||||
|
|
|
@ -96,6 +96,7 @@ public abstract class TileEntityElectricMachine<RECIPE extends BasicMachineRecip
|
|||
factory.ejectorComponent = ejectorComponent;
|
||||
factory.ejectorComponent.sideData = factory.sideOutputs.get(5);
|
||||
factory.ejectorComponent.tileEntity = factory;
|
||||
factory.ejectorComponent.trackers = new int[factory.ejectorComponent.sideData.availableSlots.length];
|
||||
factory.recipeType = type;
|
||||
|
||||
factory.inventory[5] = inventory[0];
|
||||
|
|
|
@ -190,6 +190,7 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
|
|||
factory.ejectorComponent = ejectorComponent;
|
||||
factory.ejectorComponent.tileEntity = factory;
|
||||
factory.ejectorComponent.sideData = factory.sideOutputs.get(5);
|
||||
factory.ejectorComponent.trackers = new int[factory.ejectorComponent.sideData.availableSlots.length];
|
||||
|
||||
for(int i = 0; i < tier.processes+5; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue