mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-20 04:33:59 +00:00
commit
2483614459
@ -142,7 +142,7 @@ function arguments ( $args ){
|
|||||||
array_shift( $args );
|
array_shift( $args );
|
||||||
$args = join( $args, ' ' );
|
$args = join( $args, ' ' );
|
||||||
|
|
||||||
preg_match_all('/ (--[\w\-]+ (?:[= ] [^-]+ [^\s-] )? ) | (-\w+) | (\w+) /x', $args, $match );
|
preg_match_all('/ (--[\w\-]+ (?:[= ] [^-\s]+ )? ) | (-\w+) | (\w+) /x', $args, $match );
|
||||||
$args = array_shift( $match );
|
$args = array_shift( $match );
|
||||||
|
|
||||||
$ret = array(
|
$ret = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user