Put the FMLModContainer back in it's cage. Delete the ClasspathLocator.

Signed-off-by: cpw <cpw+github@weeksfamily.ca>
This commit is contained in:
cpw committed 2019-02-01 20:37:04 -05:00
1 parent e4d20a80ed
commit e000fd2f8f
3 files changed
+4 -166

No files matched your search

@@ -105,11 +105,11 @@ public enum LifecycleEventProvider
this.progression = p;
}
public Event getOrBuildEvent(FMLModContainer fmlModContainer)
public Event getOrBuildEvent(ModContainer modContainer)
{
if (customEventSupplier!=null) return customEventSupplier.get();
return stage.getModEvent(fmlModContainer);
return stage.getModEvent(modContainer);
}
@Override
@@ -44,8 +44,8 @@ public enum ModLoadingStage
this.modLifecycleEventFunction = modLifecycleEventFunction;
}
public ModLifecycleEvent getModEvent(ModContainer fmlModContainer)
public ModLifecycleEvent getModEvent(ModContainer modContainer)
{
return modLifecycleEventFunction.get().apply(fmlModContainer);
return modLifecycleEventFunction.get().apply(modContainer);
}
}