@@ -13,7 +13,6 @@ import com.mairwunnx.projectessentials.core.api.v1.helpers.projectConfigDirector
1313import com.mairwunnx.projectessentials.core.api.v1.messaging.MessagingAPI
1414import com.mairwunnx.projectessentials.core.api.v1.module.IModule
1515import com.mairwunnx.projectessentials.core.api.v1.permissions.hasPermission
16- import com.mairwunnx.projectessentials.core.api.v1.processor.ProcessorAPI
1716import com.mairwunnx.projectessentials.core.impl.commands.ConfigureEssentialsCommandAPI
1817import com.mairwunnx.projectessentials.core.impl.configurations.GeneralConfiguration
1918import com.mairwunnx.projectessentials.core.impl.vanilla.commands.*
@@ -37,16 +36,16 @@ internal class ModuleObject : IModule {
3736 override val version = this ::class .java.`package`.implementationVersion!!
3837 override val loadIndex = 0
3938
40- private val generalConfiguration by lazy {
41- getConfigurationByName<GeneralConfiguration >(" general" )
42- }
43-
4439 private var dudeFuckedOff = true
4540
4641 init {
4742 MinecraftForge .EVENT_BUS .register(this )
4843 }
4944
45+ private val generalConfiguration by lazy {
46+ getConfigurationByName<GeneralConfiguration >(" general" )
47+ }
48+
5049 override fun init () = initializeModuleSettings()
5150
5251 @SubscribeEvent
@@ -87,7 +86,7 @@ internal class ModuleObject : IModule {
8786 registerNativeCommands(event.commandDispatcher, event.server.isDedicatedServer)
8887 }
8988
90- ProcessorAPI .getProcessorByName( " command " ).postProcess ()
89+ CommandAPI .registerAll ()
9190 }
9291
9392 @SubscribeEvent
0 commit comments