mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 02:38:54 +00:00
Fix for command alias arguments
This commit is contained in:
parent
a2734f6dc0
commit
e2a400dd6b
@ -93,7 +93,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