no more mob pushing as it was causing a lot of memery waste, added 0.9 branch fix

This commit is contained in:
GameHerobrine 2023-03-02 00:16:51 +03:00
parent a3711cfded
commit a3fda45979
4 changed files with 3 additions and 59 deletions

View file

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