mirror of
https://github.com/Matthww/PlayerInfo.git
synced 2026-11-20 13:29:04 +00:00
modified: src/Matthww/PlayerInfo/Tasks/FetchModelsTask.php
This commit is contained in:
1 parent
94cab0f223
commit
55e3a9df9e
1 file changed
+1
-1
@@ -15,7 +15,7 @@ class FetchModelsTask extends AsyncTask {
|
||||
}
|
||||
|
||||
public function onRun(): void {
|
||||
$result = Internet::getURL("https://raw.githubusercontent.com/Matthww/PlayerInfo/master/resources/models.yml");
|
||||
$result = Internet::getURL("https://raw.githubusercontent.com/Matthww/PlayerInfo/master/resources/models.yml")->getBody();
|
||||
if(!is_string($result)) {
|
||||
$this->setResult(false);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user