File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/kotlin/com/mairwunnx/projectessentials/chat/impl Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
33package com.mairwunnx.projectessentials.chat.impl
44
5+ import com.mairwunnx.projectessentials.chat.api.variables.ChatVariableAPI
56import com.mairwunnx.projectessentials.chat.impl.handlers.ChatMessageHandler
67import com.mairwunnx.projectessentials.chat.impl.handlers.ReceiveMessageHandler
78import com.mairwunnx.projectessentials.chat.localizations
@@ -21,7 +22,7 @@ internal class ModuleObject : IModule {
2122 override val name = this ::class .java.`package`.implementationTitle.split(" " ).last()
2223 override val version = this ::class .java.`package`.implementationVersion!!
2324 override val loadIndex = 7
24- override fun init () = Unit
25+ override fun init () = variables.forEach( ChatVariableAPI ::add)
2526
2627 private val logger = LogManager .getLogger()
2728
You can’t perform that action at this time.
0 commit comments