diff --git a/src/main/java/com/raoulvdberge/refinedstorage/container/ContainerBase.java b/src/main/java/com/raoulvdberge/refinedstorage/container/ContainerBase.java index 4055c37f4..54162d685 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/container/ContainerBase.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/container/ContainerBase.java @@ -57,7 +57,17 @@ public abstract class ContainerBase extends Container { } protected void addPlayerInventory(int xInventory, int yInventory) { - int id = 0; + int id = 9; + + for (int y = 0; y < 3; y++) { + for (int x = 0; x < 9; x++) { + addSlotToContainer(new Slot(player.inventory, id, xInventory + x * 18, yInventory + y * 18)); + + id++; + } + } + + id = 0; for (int i = 0; i < 9; i++) { int x = xInventory + i * 18; @@ -71,14 +81,6 @@ public abstract class ContainerBase extends Container { id++; } - - for (int y = 0; y < 3; y++) { - for (int x = 0; x < 9; x++) { - addSlotToContainer(new Slot(player.inventory, id, xInventory + x * 18, yInventory + y * 18)); - - id++; - } - } } public List getFluidSlots() {