mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Removed $server constructor arguments because of ServerAPI::request()
This commit is contained in:
parent
af52b0a5b5
commit
6d39f54591
17 changed files with 35 additions and 34 deletions
|
|
@ -474,7 +474,7 @@ class ServerAPI{
|
|||
}else{
|
||||
$internal = true;
|
||||
}
|
||||
$this->$name = new $class($this->server);
|
||||
$this->$name = new $class();
|
||||
$this->apiList[] = $this->$name;
|
||||
console("[".($internal === true ? "DEBUG":"INFO")."] API \x1b[36m".$name."\x1b[0m [\x1b[30;1m".$class."\x1b[0m] loaded", true, true, ($internal === true ? 2:1));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue