diff --git a/src/Matthww/PlayerInfo/Tasks/FetchModelsTask.php b/src/Matthww/PlayerInfo/Tasks/FetchModelsTask.php index feaeddf..b7746d0 100644 --- a/src/Matthww/PlayerInfo/Tasks/FetchModelsTask.php +++ b/src/Matthww/PlayerInfo/Tasks/FetchModelsTask.php @@ -15,12 +15,12 @@ class FetchModelsTask extends AsyncTask { } public function onRun(): void { - $result = Internet::getURL("https://playerinfo.hillcraft.net/models.yml?v=" . $this->version); + $result = Internet::getURL("https://raw.githubusercontent.com/Matthww/PlayerInfo/master/resources/models.yml"); if(!is_string($result)) { $this->setResult(false); return; } - file_put_contents($this->path . "models.yml", $result); + file_put_contents($this->path. "models.yml", $result); $this->setResult(true); } }