mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
zombies/skeletons/creepers should not spawn in blocks if only one block is free, mob limit is changeable in server.properties, small tweaks to entity hitboxes
This commit is contained in:
parent
9677196135
commit
c2e069ef08
5 changed files with 15 additions and 12 deletions
|
|
@ -120,6 +120,7 @@ class ServerAPI{
|
|||
"allow-flight" => false,
|
||||
"spawn-animals" => true,
|
||||
"spawn-mobs" => true,
|
||||
"mobs-amount" => 50,
|
||||
"gamemode" => SURVIVAL,
|
||||
"hardcore" => false,
|
||||
"pvp" => true,
|
||||
|
|
@ -135,7 +136,7 @@ class ServerAPI{
|
|||
]);
|
||||
|
||||
$this->parseProperties();
|
||||
|
||||
MobSpawner::$MOB_LIMIT = $this->getProperty("mobs-amount", 50);
|
||||
//Load advanced properties
|
||||
define("DEBUG", $this->getProperty("debug", 1));
|
||||
define("ADVANCED_CACHE", $this->getProperty("enable-advanced-cache", false));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue