php8.2 fixes

This commit is contained in:
GameHerobrine 2023-07-03 07:10:04 +03:00
parent d7d346a237
commit 6d89c50e43
13 changed files with 33 additions and 26 deletions

View file

@ -9,7 +9,7 @@ class PocketMinecraftServer{
*/
public $api;
private $serverip, $evCnt, $handCnt, $events, $eventsID, $handlers, $serverType, $lastTick, $memoryStats, $async = [], $asyncID = 0;
public $levelData, $doTick, $difficulty, $tiles, $entities, $schedule, $scheduleCnt, $whitelist, $spawn, $asyncThread, $stop;
function __construct($name, $gamemode = SURVIVAL, $seed = false, $port = 19132, $serverip = "0.0.0.0"){
$this->port = (int) $port;
$this->doTick = true;