mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +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){
|
if($label === null){
|
||||||
$label = $command->getName();
|
$label = $command->getName();
|
||||||
}
|
}
|
||||||
$label = strtolower(trim($label));
|
$label = trim($label);
|
||||||
$fallbackPrefix = strtolower(trim($fallbackPrefix));
|
$fallbackPrefix = strtolower(trim($fallbackPrefix));
|
||||||
|
|
||||||
$registered = $this->registerAlias($command, false, $fallbackPrefix, $label);
|
$registered = $this->registerAlias($command, false, $fallbackPrefix, $label);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user