From 57cd8324dcb1aed1931f617ad1080891580ae20d Mon Sep 17 00:00:00 2001 From: tterrag Date: Tue, 19 Feb 2019 19:28:17 -0500 Subject: [PATCH] Fix reference to UnsafeHacks in RuntimeEnumExtender --- .../java/net/minecraftforge/common/asm/RuntimeEnumExtender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java b/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java index a1ef806b6..93bc020d6 100644 --- a/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java +++ b/src/fmllauncher/java/net/minecraftforge/common/asm/RuntimeEnumExtender.java @@ -48,7 +48,7 @@ public class RuntimeEnumExtender implements ILaunchPluginService { private final Type MARKER_IFACE = Type.getType("Lnet/minecraftforge/common/IExtensibleEnum;"); private final Type ARRAY_UTILS = Type.getType("Lorg/apache/commons/lang3/ArrayUtils;"); //Don't directly reference this to prevent class loading. private final String ADD_DESC = Type.getMethodDescriptor(Type.getType(Object[].class), Type.getType(Object[].class), Type.getType(Object.class)); - private final Type UNSAFE_HACKS = Type.getType("Lnet/minecraftforge/fml/UnsafeHacks;"); //Again, not direct reference to prevent class loading. + private final Type UNSAFE_HACKS = Type.getType("Lnet/minecraftforge/fml/unsafe/UnsafeHacks;"); //Again, not direct reference to prevent class loading. private final String CLEAN_DESC = Type.getMethodDescriptor(Type.VOID_TYPE, Type.getType(Class.class)); private final String NAME_DESC = Type.getMethodDescriptor(STRING); private final String EQUALS_DESC = Type.getMethodDescriptor(Type.BOOLEAN_TYPE, STRING);