mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
feat: PacketPool
This commit is contained in:
parent
2712adc29f
commit
c15eeefaa4
2 changed files with 118 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class PocketMinecraftServer{
|
|||
$this->saveEnabled = true;
|
||||
$this->tickMeasure = array_fill(0, 40, 0);
|
||||
$this->setType("normal");
|
||||
PacketPool::init();
|
||||
$this->interface = new MinecraftInterface("255.255.255.255", $this->port, $this->serverip);
|
||||
$this->stop = false;
|
||||
$this->ticks = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue