1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-05-01 16:06:23 +02:00

Message about missing permissions on certain commands no longer hard coded

This commit is contained in:
nossr50 2021-01-21 14:34:58 -08:00
parent 1b5dd86796
commit 4b4643f510

@ -85,7 +85,7 @@ public class CommandManager {
private void validatePermission(@NotNull String permissionNode, @NotNull Permissible permissible) {
if(!permissible.hasPermission(permissionNode)) {
throw new ConditionFailedException("You do not have the appropriate permission to use this command.");
throw new ConditionFailedException(LocaleLoader.getString("mcMMO.NoPermission"));
}
}