mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-01-06 14:24:41 +08:00
Bug Fix #146
This commit is contained in:
parent
070631902a
commit
f241023282
@ -23,7 +23,7 @@ public class VelocityCommandManager implements CommandManager {
|
||||
Preconditions.checkNotNull(command, "executor");
|
||||
for (int i = 0, length = aliases.length; i < length; i++) {
|
||||
final String alias = aliases[i];
|
||||
Preconditions.checkNotNull(aliases, "alias at index %s", i);
|
||||
Preconditions.checkNotNull(alias, "alias at index %s", i);
|
||||
this.commands.put(alias.toLowerCase(Locale.ENGLISH), command);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user