mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
php8.2 fixes
This commit is contained in:
parent
d7d346a237
commit
6d89c50e43
13 changed files with 33 additions and 26 deletions
|
|
@ -3,7 +3,7 @@
|
|||
class ConsoleAPI{
|
||||
|
||||
private $loop, $server, $event, $help, $cmds, $alias;
|
||||
|
||||
public $last;
|
||||
function __construct(){
|
||||
$this->help = [];
|
||||
$this->cmds = [];
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ class EntityAPI{
|
|||
public $entities;
|
||||
private $server;
|
||||
private $eCnt = 1;
|
||||
|
||||
public $serverSpawnAnimals, $serverSpawnMobs;
|
||||
function __construct(){
|
||||
$this->entities = [];
|
||||
$this->server = ServerAPI::request();
|
||||
|
|
|
|||
|
|
@ -57,6 +57,11 @@ class ServerAPI{
|
|||
*/
|
||||
public $plugin;
|
||||
|
||||
/**
|
||||
* @var QueryHandler
|
||||
*/
|
||||
public $query;
|
||||
|
||||
private $asyncCalls = [];
|
||||
private $server;
|
||||
private $config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue