mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Merge commit 'f1083bd9c402c1456f4fc7dce8271c33360dc227'
This commit is contained in:
commit
54604398f2
@ -71,6 +71,7 @@ use function explode;
|
||||
use function implode;
|
||||
use function min;
|
||||
use function preg_match_all;
|
||||
use function strcasecmp;
|
||||
use function stripslashes;
|
||||
use function strpos;
|
||||
use function strtolower;
|
||||
@ -289,7 +290,7 @@ class SimpleCommandMap implements CommandMap{
|
||||
|
||||
if($command === null){
|
||||
$bad[] = $commandString;
|
||||
}elseif($commandName === $alias){
|
||||
}elseif(strcasecmp($commandName, $alias) === 0){
|
||||
$recursive[] = $commandString;
|
||||
}else{
|
||||
$targets[] = $commandString;
|
||||
|
Loading…
x
Reference in New Issue
Block a user