mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
tnt will not regenerate you now + will add knockback to players
This commit is contained in:
parent
a10c6a1d57
commit
2678243d8b
4 changed files with 50 additions and 32 deletions
|
|
@ -58,7 +58,7 @@ class MobSpawner{
|
|||
$type = mt_rand(10, 13);
|
||||
$baby = false;
|
||||
$grassOnly = true;
|
||||
}elseif(self::$spawnMobs && ($phase == "night" || $phase == "sunset")){ //Monster, true night
|
||||
}elseif(self::$spawnMobs && ($phase == "night" || $phase == "sunset") && $this->server->difficulty > 0){ //Monster, true night
|
||||
$type = mt_rand(32, 35);
|
||||
$grassOnly = false;
|
||||
$baby = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue