mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 10:49:10 +00:00
Fix for command alias arguments
This commit is contained in:
parent
ee0d4aa124
commit
99855773d7
@ -96,7 +96,7 @@ class FormattedCommandAlias extends Command{
|
||||
|
||||
$argStart = $index;
|
||||
|
||||
while($index < strlen($formatString) and self::inRange($formatString{$index} - 48, 0, 9)){
|
||||
while($index < strlen($formatString) and self::inRange(ord($formatString{$index}) - 48, 0, 9)){
|
||||
++$index;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user