diff options
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java b/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java index b275983..981e97a 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/SyncedGuiDescription.java @@ -259,7 +259,7 @@ public class SyncedGuiDescription extends ScreenHandler implements GuiDescriptio hotbarSlots.add(slot); } else { storageSlots.add(slot); - if (index==slotNumber) swapToStorage = false; + if (slot.id==slotNumber) swapToStorage = false; } } } |