mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 19:54:43 +02:00
Fix commands being case sensitive.
This commit is contained in:
@ -333,7 +333,7 @@ public class MainCommand extends CommandManager<PlotPlayer> {
|
||||
System.arraycopy(parts, 2, args, 0, args.length);
|
||||
}
|
||||
Command<PlotPlayer> cmd;
|
||||
if (label != null) {
|
||||
if (label != null) {
|
||||
cmd = getInstance().commands.get(label.toLowerCase());
|
||||
} else {
|
||||
cmd = null;
|
||||
|
Reference in New Issue
Block a user