mirror of
https://github.com/songoda/EpicHeads.git
synced 2024-11-26 04:25:16 +01:00
Update CommandManager.java
- Fixed locale function to correctly return "event.general.nopermission" message.
This commit is contained in:
parent
87d9565818
commit
238e1effdb
@ -84,7 +84,7 @@ public class CommandManager implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
instance.getLocale().newMessage("event.general.nopermission").sendPrefixedMessage(sender);
|
instance.getLocale().getMessage("event.general.nopermission").sendPrefixedMessage(sender);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<AbstractCommand> getCommands() {
|
public List<AbstractCommand> getCommands() {
|
||||||
|
Loading…
Reference in New Issue
Block a user