diff --git a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt index ae6aaf7..b494011 100644 --- a/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt +++ b/chatty-paper/src/main/kotlin/com/mineinabyss/chatty/ChattyPlugin.kt @@ -27,6 +27,10 @@ class ChattyPlugin : JavaPlugin() { all() } } + + // register components we'll use async now since they'll error otherwise + componentId() + componentId() } override fun onEnable() { @@ -39,16 +43,11 @@ class ChattyPlugin : JavaPlugin() { ChattyCommands() listeners(ChatListener(), PlayerListener()) - if (chatty.isPlaceholderApiLoaded) PlaceholderAPIHook().register() if (chatty.isDiscordSRVLoaded) DiscordSRV.api.subscribe(DiscordListener()) - - // register components we'll use async now since they'll error otherwise - componentId() - componentId() } fun createChattyContext() {