Fix upgrade dupe with factories.

This commit is contained in:
Ben Spiers committed 2015-03-21 19:12:55 +00:00
1 parent 9936c05da7
commit 0658e04880
1 file changed
+1
@@ -297,6 +297,7 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
}
upgradeComponent.write(returnStack.stackTagCompound);
upgradeComponent.read(inventory[2].stackTagCompound);
inventory[2] = null;
inventory[3] = returnStack;