Fix #1893 False Module Container ID

This commit is contained in:
Nedelosk committed 2017-11-24 00:03:41 +01:00
1 parent 37893d8aca
commit 3c4b025c74
4 files changed
+8 -5

No files matched your search

@@ -24,6 +24,7 @@ import forestry.core.ISaveEventHandler;
import forestry.core.config.Constants;
import forestry.core.network.IPacketRegistry;
import forestry.core.utils.Log;
import forestry.plugins.ForestryCompatPlugins;
public class InternalModuleHandler {
@@ -91,7 +92,7 @@ public class InternalModuleHandler {
Log.debug("Pre-Init Start: {}", module);
registerHandlers(module, side);
module.preInit();
if (moduleManager.isModuleEnabled(Constants.MOD_ID, ForestryModuleUids.BUILDCRAFT_STATEMENTS)) {
if (moduleManager.isModuleEnabled(ForestryCompatPlugins.ID, ForestryModuleUids.BUILDCRAFT_STATEMENTS)) {
module.registerTriggers();
}
Log.debug("Pre-Init Complete: {}", module);