diff --git a/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java b/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java index 92f94231e..3b7dc7ac5 100644 --- a/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java +++ b/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java @@ -133,6 +133,7 @@ public class RuntimeEnumExtender implements ILaunchPluginService { values.access &= values.access & ~Opcodes.ACC_FINAL; //Strip the final so JITer doesn't inline things. + mtd.access |= Opcodes.ACC_SYNCHRONIZED; mtd.instructions.clear(); InstructionAdapter ins = new InstructionAdapter(mtd);