Fix classloading hack not working anymore
This commit is contained in:
parent
b25234e431
commit
dba6e1210e
|
|
@ -28,9 +28,6 @@ public class BootstrapMixin {
|
||||||
/* for https://github.com/MinecraftForge/MinecraftForge/issues/9505 */
|
/* for https://github.com/MinecraftForge/MinecraftForge/issues/9505 */
|
||||||
@Inject(method = "bootStrap", at = @At("RETURN"))
|
@Inject(method = "bootStrap", at = @At("RETURN"))
|
||||||
private static void doClassloadHack(CallbackInfo ci) {
|
private static void doClassloadHack(CallbackInfo ci) {
|
||||||
if(!isBootstrapped) {
|
NetworkConstants.init();
|
||||||
NetworkConstants.init();
|
|
||||||
LOGGER.info("Worked around Forge issue #9505");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user