Add API for ambient mob spawn limit. Adds BUKKIT-2765
By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
38f6b24c1c
commit
e4567e091b
3 changed files with 25 additions and 1 deletions
|
@ -371,6 +371,10 @@ public final class Bukkit {
|
|||
return server.getWaterAnimalSpawnLimit();
|
||||
}
|
||||
|
||||
public static int getAmbientSpawnLimit() {
|
||||
return server.getAmbientSpawnLimit();
|
||||
}
|
||||
|
||||
public static boolean isPrimaryThread() {
|
||||
return server.isPrimaryThread();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue