You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Wiki and User Guide](https://shynixn.github.io/MCCoroutine/wiki/site/)
64
+
65
+
## Resources
66
+
64
67
*[MCCoroutine JavaDocs for the Bukkit-API](https://shynixn.github.io/MCCoroutine/apidocs/mccoroutine-root/com.github.shynixn.mccoroutine.bukkit/index.html)
65
68
*[MCCoroutine JavaDocs for the Sponge-API](https://shynixn.github.io/MCCoroutine/apidocs/mccoroutine-root/com.github.shynixn.mccoroutine.sponge/index.html)
66
69
*[MCCoroutine JavaDocs for the BungeeCord-API](https://shynixn.github.io/MCCoroutine/apidocs/mccoroutine-root/com.github.shynixn.mccoroutine.bungeecord/index.html)
Copy file name to clipboardExpand all lines: mccoroutine-bukkit-core/src/main/java/com/github/shynixn/mccoroutine/bukkit/dispatcher/AsyncCoroutineDispatcher.kt
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,13 @@ internal open class AsyncCoroutineDispatcher(
Copy file name to clipboardExpand all lines: mccoroutine-bukkit-core/src/main/java/com/github/shynixn/mccoroutine/bukkit/dispatcher/MinecraftCoroutineDispatcher.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ internal open class MinecraftCoroutineDispatcher(
Copy file name to clipboardExpand all lines: mccoroutine-bukkit-core/src/main/java/com/github/shynixn/mccoroutine/bukkit/impl/MCCoroutineImpl.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ class MCCoroutineImpl : MCCoroutine {
40
40
*/
41
41
privatefunstartCoroutineSession(plugin:Plugin) {
42
42
if (!plugin.isEnabled) {
43
-
throwRuntimeException("Plugin ${plugin.name} attempt to start a new coroutine session while being disabled. Dispatchers such as plugin.minecraftDispatcher and plugin.asyncDispatcher are already disposed at this point and cannot be used!")
43
+
throwRuntimeException("Plugin ${plugin.name} attempt to start a new coroutine session while being disabled. Dispatchers such as plugin.minecraftDispatcher and plugin.asyncDispatcher are already disposed at this point and cannot be used! If you are starting a coroutine in onDisable, consider using runBlocking instead.")
0 commit comments