Add API for managing mob spawn limits per-world. Fixes BUKKIT-1565
By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
3dc0047d2a
commit
05da0754c2
3 changed files with 72 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue