made pushing disableable in config, php8.1+particial 8.2 comp(not recommended)

This commit is contained in:
GameHerobrine 2023-02-24 06:10:41 +03:00
parent 79831c457d
commit cb6e649081
19 changed files with 55 additions and 40 deletions

View file

@ -3,7 +3,7 @@
class ConsoleAPI{
private $loop, $server, $event, $help, $cmds, $alias;
public $last;
function __construct(){
$this->help = [];
$this->cmds = [];

View file

@ -4,7 +4,7 @@ class EntityAPI{
public $entities;
private $server;
private $eCnt = 1;
private $serverSpawnAnimals, $serverSpawnMobs;
function __construct(){
$this->entities = [];
$this->server = ServerAPI::request();

View file

@ -56,6 +56,10 @@ class ServerAPI{
* @var PluginAPI
*/
public $plugin;
/**
* @var QueryHandler
*/
public $query;
private $asyncCalls = [];
private $server;