mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
Support asynchronous events; Addresses BUKKIT-1212
By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
@@ -639,4 +639,9 @@ public interface Server extends PluginMessageRecipient {
|
||||
* @returns The water animal spawn limit
|
||||
*/
|
||||
int getWaterAnimalSpawnLimit();
|
||||
|
||||
/**
|
||||
* Returns true if the current {@link Thread} is the server's primary thread
|
||||
*/
|
||||
boolean isPrimaryThread();
|
||||
}
|
Reference in New Issue
Block a user