mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
auto load locales
This commit is contained in:
@@ -58,6 +58,7 @@ public class SpongeCommandManager extends CommandManager {
|
||||
this.formatters.put(MessageType.ERROR, defaultFormatter = new SpongeMessageFormatter(TextColors.RED, TextColors.YELLOW, TextColors.RED));
|
||||
this.formatters.put(MessageType.SYNTAX, new SpongeMessageFormatter(TextColors.YELLOW, TextColors.GREEN, TextColors.WHITE));
|
||||
this.formatters.put(MessageType.INFO, new SpongeMessageFormatter(TextColors.BLUE, TextColors.DARK_GREEN, TextColors.GREEN));
|
||||
getLocales(); // auto load locales
|
||||
}
|
||||
|
||||
public PluginContainer getPlugin() {
|
||||
|
||||
Reference in New Issue
Block a user