Skip to content

Commit

Permalink
Fixes missing locale text
Browse files Browse the repository at this point in the history
The message was linked to a non-existing path.
  • Loading branch information
BONNe authored Oct 20, 2023
1 parent ea5529f commit af3b0bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public boolean canExecute(User user, String label, List<String> args) {
int max = user.getPermissionValue(this.getIWM().getAddon(getWorld()).map(GameModeAddon::getPermissionPrefix).orElse("") + "island.number", this.getIWM().getWorldSettings(getWorld()).getConcurrentIslands());
if (num >= max) {
// You cannot make an island
user.sendMessage("general.errors.you-cannot-make");
user.sendMessage("commands.island.create.you-cannot-make");
return false;
}
if (getIWM().getMaxIslands(getWorld()) > 0
Expand Down

0 comments on commit af3b0bb

Please sign in to comment.