Don't crash on failed registration
I think Forge is doing something weird with registration event handlers causing ClassNotFoundExceptions Closes #37
This commit is contained in:
parent
5d8ddee776
commit
ecf20f1a76
|
@ -1,4 +1,4 @@
|
||||||
mod_version = 1.7.0
|
mod_version = 1.7.1
|
||||||
group = net.shadowfacts
|
group = net.shadowfacts
|
||||||
archivesBaseName = Forgelin
|
archivesBaseName = Forgelin
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,6 @@ object ForgelinAutomaticEventSubscriber {
|
||||||
LOGGER.debug("Registered @EventBusSubscriber object {}", subscriber.className)
|
LOGGER.debug("Registered @EventBusSubscriber object {}", subscriber.className)
|
||||||
} catch (e: Throwable) {
|
} catch (e: Throwable) {
|
||||||
LOGGER.error("An error occurred trying to load an @EventBusSubscriber object {} for modid {}", mod.modId, e)
|
LOGGER.error("An error occurred trying to load an @EventBusSubscriber object {} for modid {}", mod.modId, e)
|
||||||
throw LoaderException(e)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue