Skip to content

Commit

Permalink
Fix unlocalized no map msg
Browse files Browse the repository at this point in the history
  • Loading branch information
sysnote8main committed Jan 9, 2024
1 parent 5eeb763 commit fd5cec8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void handleClick(@NotNull ClickType clickType, @NotNull Player player, @N

MatchManager.getInstance().getMapHandler().getRandomMap(matchMode).ifPresentOrElse(
matchMap -> addMatch(player, matchManager, matchMap),
() -> player.sendMessage(Component.text("item-no-map-available").color(NamedTextColor.YELLOW)));
() -> player.sendMessage(Component.text(MsgHandler.get("item-no-map-available")).color(NamedTextColor.YELLOW)));

getWindows().forEach(Window::close);
}
Expand Down

0 comments on commit fd5cec8

Please sign in to comment.