From af3b0bba2dbd2875a026e085affea75e7adaf245 Mon Sep 17 00:00:00 2001 From: BONNe Date: Fri, 20 Oct 2023 20:01:41 +0300 Subject: [PATCH] Fixes missing locale text The message was linked to a non-existing path. --- .../bentobox/api/commands/island/IslandCreateCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/bentobox/api/commands/island/IslandCreateCommand.java b/src/main/java/world/bentobox/bentobox/api/commands/island/IslandCreateCommand.java index 854b42b74..650b5eac0 100644 --- a/src/main/java/world/bentobox/bentobox/api/commands/island/IslandCreateCommand.java +++ b/src/main/java/world/bentobox/bentobox/api/commands/island/IslandCreateCommand.java @@ -55,7 +55,7 @@ public class IslandCreateCommand extends CompositeCommand { 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