Support asynchronous events; Addresses BUKKIT-1212

This commit is contained in:
Wesley Wolfe
2012-06-13 21:28:13 -05:00
parent 40ca05a5c7
commit 4ebefa5b3a
10 changed files with 300 additions and 27 deletions

View File

@@ -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();
}