Fixed Galacticraft support with dev

This commit is contained in:
LemADEC 2016-02-29 23:27:48 +01:00
parent 715cc20ffd
commit 95f4f202a7

View file

@ -376,7 +376,7 @@ public class ClassTransformer implements net.minecraft.launchwrapper.IClassTrans
}
} while (true);
if (injectedCount != operationCount) {
if (injectedCount < operationCount) {// https://github.com/micdoodle8/Galacticraft/commit/d0e7e9ae932092e8a4584bac43338d2dc1bbfe23 added 2 occurrences
FMLLoadingPlugin.logger.info("Injection failed for " + classNode.name + " (" + injectedCount + " / " + operationCount + "), aborting...");
} else {
ClassWriter writer = new ClassWriter(ClassWriter.COMPUTE_MAXS); // | ClassWriter.COMPUTE_FRAMES);