mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
Merge commit '409c8c170'
# Conflicts: # resources/vanilla
This commit is contained in:
commit
5a8633f6c0
@ -163,7 +163,8 @@ class TimingsCommand extends VanillaCommand{
|
|||||||
$sender->getServer()->getLogger()->logException($result);
|
$sender->getServer()->getLogger()->logException($result);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(isset($result[0]) && is_array($response = json_decode($result[0], true)) && isset($response["id"])){
|
$response = json_decode($result[0], true);
|
||||||
|
if(is_array($response) && isset($response["id"])){
|
||||||
Command::broadcastCommandMessage($sender, new TranslationContainer("pocketmine.command.timings.timingsRead",
|
Command::broadcastCommandMessage($sender, new TranslationContainer("pocketmine.command.timings.timingsRead",
|
||||||
["https://" . $this->host . "/?id=" . $response["id"]]));
|
["https://" . $this->host . "/?id=" . $response["id"]]));
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user