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
|
|
@ -32,8 +32,8 @@ class BanAPI{
|
|||
private $ops;
|
||||
private $bannedIPs;
|
||||
private $cmdWL = array();
|
||||
function __construct(PocketMinecraftServer $server){
|
||||
$this->server = $server;
|
||||
function __construct(){
|
||||
$this->server = ServerAPI::request();
|
||||
}
|
||||
|
||||
public function init(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue