mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 02:19:41 -05:00
Support asynchronous events; Addresses BUKKIT-1212
By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
1 parent
ca71171e8c
commit
ad7045596d
10 files changed
+300
-27
No files matched your search
@@ -365,4 +365,8 @@ public final class Bukkit {
|
||||
public static int getWaterAnimalSpawnLimit() {
|
||||
return server.getWaterAnimalSpawnLimit();
|
||||
}
|
||||
|
||||
public static boolean isPrimaryThread() {
|
||||
return server.isPrimaryThread();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user