MCPcopy Create free account
hub / github.com/Teneted/Tenet / isPrimaryThread

Method isPrimaryThread

src/main/java/org/bukkit/Server.java:980–980  ·  view source on GitHub ↗

Checks the current thread against the expected primary thread for the server. Note: this method should not be used to indicate the current synchronized state of the runtime. A current thread matching the main thread indicates that it is synchronized, but a mismatch does not preclude</b

()

Source from the content-addressed store, hash-verified

978 * false otherwise
979 */
980 boolean isPrimaryThread();
981
982 /**
983 * Gets the message that is displayed on the server list.

Callers 2

isPrimaryThreadMethod · 0.65
callEventMethod · 0.65

Implementers 2

CraftServersrc/main/java/org/bukkit/craftbukkit/v
Bukkitsrc/main/java/org/bukkit/Bukkit.java

Calls

no outgoing calls

Tested by

no test coverage detected