server can send 16x16x16 chunks instead of 256x16x16 now

This commit is contained in:
GameHerobrine 2023-06-27 16:53:36 +03:00
parent 4544b7bb63
commit 6d1d7cb8a5
2 changed files with 30 additions and 9 deletions

View file

@ -88,8 +88,10 @@ class PocketMinecraftServer{
"discord-bot-name" => "NostalgiaCore Logger",
"despawn-mobs" => true,
"mob-despawn-ticks" => 18000,
"16x16x16_chunk_sending" => false
]);
Player::$smallChunks = $this->extraprops->get("16x16x16_chunk_sending");
Living::$despawnMobs = $this->extraprops->get("despawn-mobs");
Living::$despawnTimer = $this->extraprops->get("mob-despawn-ticks");
Entity::$allowedAI = $this->extraprops->get("enable-mob-ai");