Fix for command alias arguments

This commit is contained in:
Intyre 2016-01-24 18:33:34 +01:00
parent ee0d4aa124
commit 99855773d7
No known key found for this signature in database
GPG Key ID: B06D41D26935005A

View File

@ -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;
}