diff options
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockInventoryScreen.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockInventoryScreen.java b/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockInventoryScreen.java index 8717dd15..8f1abbb8 100644 --- a/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockInventoryScreen.java +++ b/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockInventoryScreen.java @@ -88,9 +88,10 @@ public class SkyblockInventoryScreen extends InventoryScreen { @Override public void removed() { super.removed(); - // move it back, the handler is the same for the entire session + // put the handler back how it was, the handler is the same while the player is alive/in the same world Slot slot = handler.slots.get(45); ((SlotAccessor) slot).setX(slot.x - 21); + handler.slots.removeIf(slot1 -> slot1 instanceof EquipmentSlot); } @Override |