This commit is contained in:
GameHerobrine 2023-01-11 01:12:08 +03:00
parent ac289e964c
commit 0a36a67f78
2 changed files with 10 additions and 3 deletions

View file

@ -81,8 +81,13 @@ class PocketMinecraftServer{
"discord-msg" => false,
"discord-ru-smiles" => false,
"discord-webhook-url" => "none",
"discord-bot-name" => "NostalgiaCore Logger"
"discord-bot-name" => "NostalgiaCore Logger",
"despawn-mobs" => true,
"mob-despawn-ticks" => 18000,
]);
Living::$despawnMobs = $this->extraprops->get("despawn-mobs");
Living::$despawnTimer = $this->extraprops->get("mob-despawn-ticks");
Entity::$allowedAI = $this->extraprops->get("enable-mob-ai");
Entity::$updateOnTick = $this->extraprops->get("experemental-mob-features");
if(Entity::$updateOnTick){