diff --git a/common/buildcraft/factory/TileAutoWorkbench.java b/common/buildcraft/factory/TileAutoWorkbench.java index e2a43bc5..3a5ec1a9 100644 --- a/common/buildcraft/factory/TileAutoWorkbench.java +++ b/common/buildcraft/factory/TileAutoWorkbench.java @@ -140,6 +140,15 @@ public class TileAutoWorkbench extends TileBuildCraft implements ISidedInventory super.readFromNBT(data); inv.readFromNBT(data); Utils.readInvFromNBT(craftMatrix, "matrix", data); + + // Legacy Code + if (data.hasKey("stackList")) { + ItemStack[] stacks = new ItemStack[9]; + Utils.readStacksFromNBT(data, "stackList", stacks); + for (int i = 0; i < 9; i++) { + craftMatrix.setInventorySlotContents(i, stacks[i]); + } + } } @Override