|
@@ -844,7 +844,7 @@ public class PlayerListener implements Listener {
|
|
|
*/
|
|
|
@EventHandler(priority = EventPriority.LOWEST)
|
|
|
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
|
|
|
- if (!MainConfig.getInstance().getLocale().equalsIgnoreCase("en_US")) {
|
|
|
+ if (!mcMMO.getConfigManager().getConfigLanguage().getTargetLanguage().equalsIgnoreCase("en_US")) {
|
|
|
String message = event.getMessage();
|
|
|
String command = message.substring(1).split(" ")[0];
|
|
|
String lowerCaseCommand = command.toLowerCase();
|