Skip to content

Commit 675caa8

Browse files
committed
kek 2
1 parent 2dcf5c9 commit 675caa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fml/src/main/java/cpw/mods/fml/common/LoadController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public void transition(LoaderState desiredState, boolean forceState)
137137
for (Entry<String, Throwable> error : errors.entries())
138138
{
139139
FMLLog.log(Level.ERROR, error.getValue(), "Caught exception from %s", error.getKey());
140-
if (error.getValue().getClass().equals(IFMLHandledException.class))
140+
if (error.getValue() instanceof IFMLHandledException)
141141
{
142142
toThrow = error.getValue();
143143
}
@@ -364,4 +364,4 @@ LoaderState getState()
364364
{
365365
return state;
366366
}
367-
}
367+
}

0 commit comments

Comments
 (0)