diff --git a/src/pocketmine/command/SimpleCommandMap.php b/src/pocketmine/command/SimpleCommandMap.php index 566e4d0a1..ae959c8ad 100644 --- a/src/pocketmine/command/SimpleCommandMap.php +++ b/src/pocketmine/command/SimpleCommandMap.php @@ -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);