Fix ReflectRegistry.NMS.Commands.dispatcher field

This commit is contained in:
Marc Baloup 2022-02-17 23:25:43 +01:00
parent ad74ed2854
commit efe388423c

View File

@ -41,7 +41,7 @@ public class ReflectRegistry {
public static final class Commands {
public static final ClassMapping MAPPING = wrapEx(() -> NMSReflect.mojClass("net.minecraft.commands.Commands"));
public static final ReflectField<?> dispatcher = wrapEx(() -> DedicatedServer.MAPPING.mojField("dispatcher")); // TODO vérifier
public static final ReflectField<?> dispatcher = wrapEx(() -> MAPPING.mojField("dispatcher")); // TODO vérifier
}
public static final class Vec3 {