mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-12-17 23:38:45 +01:00
Fix commands being case sensitive.
This commit is contained in:
@@ -39,7 +39,7 @@ public class CommandManager<T extends CommandCaller> {
|
||||
}
|
||||
|
||||
final public Command<T> getCommand(final String command) {
|
||||
return commands.get(command);
|
||||
return commands.get(command.toLowerCase());
|
||||
}
|
||||
|
||||
final public boolean createCommand(final Command<T> command) {
|
||||
|
||||
Reference in New Issue
Block a user