Fix workaround message printing twice
This commit is contained in:
parent
32c1baf887
commit
4a0b633970
|
|
@ -28,7 +28,9 @@ 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) {
|
||||||
NetworkConstants.init();
|
if(!isBootstrapped) {
|
||||||
LOGGER.info("Worked around Forge issue #9505");
|
NetworkConstants.init();
|
||||||
|
LOGGER.info("Worked around Forge issue #9505");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user