diff --git a/forge/forge_common/net/minecraft/src/forge/EnumHelper.java b/forge/forge_common/net/minecraft/src/forge/EnumHelper.java index 4b08a0420..1b1e341fe 100644 --- a/forge/forge_common/net/minecraft/src/forge/EnumHelper.java +++ b/forge/forge_common/net/minecraft/src/forge/EnumHelper.java @@ -269,7 +269,7 @@ public class EnumHelper return enumClass.cast(newInstance.invoke(getConstructorAccessor(decompiled, enumClass, additionalTypes), new Object[] {parms})); } - private static void setFailsafeFieldValue(Field field, Object target, Object value) throws Exception + public static void setFailsafeFieldValue(Field field, Object target, Object value) throws Exception { field.setAccessible(true); Field modifiersField = Field.class.getDeclaredField("modifiers");