mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +00:00
Fixed command name case sensitivity issue noted in #462
This commit is contained in:
parent
5926bab323
commit
5332887a0a
@ -136,7 +136,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
if($label === null){
|
||||
$label = $command->getName();
|
||||
}
|
||||
$label = strtolower(trim($label));
|
||||
$label = trim($label);
|
||||
$fallbackPrefix = strtolower(trim($fallbackPrefix));
|
||||
|
||||
$registered = $this->registerAlias($command, false, $fallbackPrefix, $label);
|
||||
|
Loading…
x
Reference in New Issue
Block a user