mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-26 04:35:43 +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());
|
int max = user.getPermissionValue(this.getIWM().getAddon(getWorld()).map(GameModeAddon::getPermissionPrefix).orElse("") + "island.number", this.getIWM().getWorldSettings(getWorld()).getConcurrentIslands());
|
||||||
if (num >= max) {
|
if (num >= max) {
|
||||||
// You cannot make an island
|
// You cannot make an island
|
||||||
user.sendMessage("general.errors.you-cannot-make");
|
user.sendMessage("commands.island.create.you-cannot-make");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (getIWM().getMaxIslands(getWorld()) > 0
|
if (getIWM().getMaxIslands(getWorld()) > 0
|
||||||
|
Loading…
Reference in New Issue
Block a user