Skip to content

Commit 72536a5

Browse files
Fix StonecutterWindow not updating menu slot
1 parent 9ddce51 commit 72536a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invui/src/main/java/xyz/xenondevs/invui/window/StonecutterWindowImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public StonecutterWindowImpl(
7979
@Override
8080
protected void update(int slot) {
8181
if (slot == SELECTED_SLOT_MAGIC_SLOT) {
82-
playerSelectSlot(getSelectedSlot(), menu.getSelectedSlot());
82+
menu.setSelectedSlot(getSelectedSlot());
8383
} else {
8484
super.update(slot);
8585
}

0 commit comments

Comments
 (0)