mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-15 17:45:06 +00:00
Revert "Shut down all other mod handlers if the loading cycle errors. This prevents other mods from throwing errors and being blamed for initial cause. This is a temporary hack until cpw re-writes the mod event dispatcher."
This reverts commit 7592bbe8
Signed-off-by: cpw <[email protected]>
This commit is contained in:
3 files changed
-10
No files matched your search
@@ -104,7 +104,6 @@ public abstract class ModContainer
|
||||
*/
|
||||
public final void transitionState(LifecycleEventProvider.LifecycleEvent event, Consumer<List<ModLoadingException>> errorHandler)
|
||||
{
|
||||
if (shutdown) return; //TODO: Remove
|
||||
if (modLoadingStage == event.fromStage())
|
||||
{
|
||||
try
|
||||
@@ -166,11 +165,4 @@ public abstract class ModContainer
|
||||
* @param e Event to accept
|
||||
*/
|
||||
protected void acceptEvent(Event e) {}
|
||||
|
||||
//TEMPORARY INTERNAL FUNCTION UNTIL net.minecraftforge.fml.ModList.dispatchParallelEvent is fixed.
|
||||
@Deprecated protected boolean shutdown = false;
|
||||
@Deprecated protected void shutdown()
|
||||
{
|
||||
this.shutdown = true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user