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