Init Commit

This commit is contained in:
yefengeeeeeeeeeee 2026-04-06 14:01:50 +08:00
parent 845ff19ba1
commit 5d0d586ce5
6 changed files with 237 additions and 222 deletions

View file

@ -78,6 +78,7 @@ class PocketMinecraftServer{
$this->spawn = false;
$this->saveEnabled = true;
$this->tickMeasure = array_fill(0, 40, 0);
PacketPool::init();
$this->setType("normal");
$this->interface = new MinecraftInterface("255.255.255.255", $this->port, $this->serverip);
$this->stop = false;