Release 2.17.0
Changes
- #116 Added new Folia Utility functions.
/**
* Gets if the current server uses Folia instead of Bukkit.
*/
fun Plugin.isFoliaLoaded() : Boolean
/**
* Validates if the current Thread is the Plugin Main Thread of mainDispatcher.
* Throws an Exception if not.
*/
fun Plugin.ensurePluginThread();