Add Option to Nerf Mobs from Spawners

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2014-02-02 16:55:46 +00:00
parent efce291f2e
commit fc81df77cf
2 changed files with 14 additions and 1 deletions

View File

@@ -262,4 +262,11 @@ public class SpigotWorldConfig
this.zombieAggressiveTowardsVillager = this.getBoolean( "zombie-aggressive-towards-villager", true );
this.log( "Zombie Aggressive Towards Villager: " + this.zombieAggressiveTowardsVillager );
}
public boolean nerfSpawnerMobs;
private void nerfSpawnerMobs()
{
this.nerfSpawnerMobs = this.getBoolean( "nerf-spawner-mobs", false );
this.log( "Nerfing mobs spawned from spawners: " + this.nerfSpawnerMobs );
}
}