Skip to content

Commit e6589f0

Browse files
committed
don't reset selected slot in toolbelt
1 parent b34d7c9 commit e6589f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/gregtech/api/items/toolitem/ItemGTToolbelt.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,6 @@ public boolean isItemValid(int slot, @NotNull ItemStack stack) {
669669

670670
@Override
671671
protected void onContentsChanged(int slot) {
672-
if (this.selectedSlot == slot) this.selectedSlot = -1;
673672
this.updateSlot(slot);
674673
this.update();
675674

0 commit comments

Comments
 (0)