mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Micro-optimizations
This commit is contained in:
@ -58,7 +58,7 @@ class AutoUpdater{
|
||||
|
||||
protected function check(){
|
||||
$response = Utils::getURL($this->endpoint . "?channel=" . $this->getChannel(), 4);
|
||||
$response = @json_decode($response, true);
|
||||
$response = json_decode($response, true);
|
||||
if(!is_array($response)){
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user