mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-22 18:55:17 +01:00
Fixes missing locale text
The message was linked to a non-existing path.
This commit is contained in:
parent
ea5529f077
commit
af3b0bba2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user