Skip to content

Commit

Permalink
Fixed left-clicking on the top islands causes the visitor menus to op…
Browse files Browse the repository at this point in the history
…en instead of the values menu (#1487)
  • Loading branch information
OmerBenGera committed Dec 1, 2022
1 parent 4dadabc commit 6443994
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -76,7 +76,7 @@ public static void onButtonClick(InventoryClickEvent clickEvent, MenuTopIslands.
Menus.MENU_WARP_CATEGORIES.openMenu(menuView.getInventoryViewer(), menuView, island);
}
} else if (plugin.getSettings().isValuesMenu()) {
plugin.getMenus().openVisitors(menuView.getInventoryViewer(), MenuViewWrapper.fromView(menuView), island);
plugin.getMenus().openValues(menuView.getInventoryViewer(), MenuViewWrapper.fromView(menuView), island);
}

return;
Expand Down

0 comments on commit 6443994

Please sign in to comment.