tnt will not regenerate you now + will add knockback to players

This commit is contained in:
GameHerobrine 2024-03-26 06:26:32 +03:00
parent a10c6a1d57
commit 2678243d8b
4 changed files with 50 additions and 32 deletions

View file

@ -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;