mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-05 20:36:42 +00:00
Insert Locale.ROOT into all case change methods
This commit is contained in:
committed by
Kenzie Togami
parent
b47c70025e
commit
13a8c480e3
@ -123,6 +123,7 @@ import org.slf4j.LoggerFactory;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Optional;
|
||||
import java.util.function.Consumer;
|
||||
import java.util.logging.FileHandler;
|
||||
@ -425,7 +426,7 @@ public final class PlatformCommandManager {
|
||||
split = newSplit;
|
||||
}
|
||||
|
||||
String searchCmd = split[0].toLowerCase();
|
||||
String searchCmd = split[0].toLowerCase(Locale.ROOT);
|
||||
|
||||
// Try to detect the command
|
||||
if (!commandManager.containsCommand(searchCmd)) {
|
||||
|
Reference in New Issue
Block a user