Skip to content

Commit

Permalink
fix: Don't set menu unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
bconlon1 committed Sep 17, 2023
1 parent ba833ba commit 08908bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static Screen setupCustomMenu(Screen screen, MenuHelper menuHelper) {
if (CumulusConfig.CLIENT.enable_menu_api.get() && screen instanceof TitleScreen) {
return menuHelper.applyMenu(menuHelper.getActiveMenu());
}
return screen;
return null;
}

/**
Expand Down

0 comments on commit 08908bf

Please sign in to comment.