mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
Merge commit 'e61c3e8bf697e5c5c6cddb4843b24279faaf25cb'
This commit is contained in:
commit
dedf81a9af
@ -64,6 +64,9 @@ class FormattedCommandAlias extends Command{
|
|||||||
return (bool) $result;
|
return (bool) $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string[] $args
|
||||||
|
*/
|
||||||
private function buildCommand(string $formatString, array $args) : string{
|
private function buildCommand(string $formatString, array $args) : string{
|
||||||
$index = strpos($formatString, '$');
|
$index = strpos($formatString, '$');
|
||||||
while($index !== false){
|
while($index !== false){
|
||||||
|
@ -127,6 +127,9 @@ class TimingsCommand extends VanillaCommand{
|
|||||||
/** @var string */
|
/** @var string */
|
||||||
private $host;
|
private $host;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string[] $data
|
||||||
|
*/
|
||||||
public function __construct(CommandSender $sender, string $host, string $agent, array $data){
|
public function __construct(CommandSender $sender, string $host, string $agent, array $data){
|
||||||
parent::__construct([
|
parent::__construct([
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user