Add API for managing mob spawn limits per-world. Fixes BUKKIT-1565

This commit is contained in:
Travis Watkins
2012-04-23 19:25:11 -05:00
committed by EvilSeph
parent a75cbbff56
commit 90d2cedd56
3 changed files with 72 additions and 0 deletions

View File

@@ -353,4 +353,16 @@ public final class Bukkit {
public static HelpMap getHelpMap() {
return server.getHelpMap();
}
public static int getMonsterSpawnLimit() {
return server.getMonsterSpawnLimit();
}
public static int getAnimalSpawnLimit() {
return server.getAnimalSpawnLimit();
}
public static int getWaterAnimalSpawnLimit() {
return server.getWaterAnimalSpawnLimit();
}
}