Update CommandManager.java

- Fixed locale function to correctly return "event.general.nopermission" message.
This commit is contained in:
Mitchell Simpson 2019-07-31 13:22:53 +00:00
parent 87d9565818
commit 238e1effdb
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class CommandManager implements CommandExecutor {
}
return;
}
instance.getLocale().newMessage("event.general.nopermission").sendPrefixedMessage(sender);
instance.getLocale().getMessage("event.general.nopermission").sendPrefixedMessage(sender);
}
public List<AbstractCommand> getCommands() {