diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java b/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java index 4a8950ea..0439f5c0 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/utility/MinecraftReflection.java @@ -1500,7 +1500,7 @@ public class MinecraftReflection { */ public static Class getAttributeSnapshotClass() { try { - return getMinecraftClass("AttributeSnapshot"); + return getMinecraftClass("PacketPlayOutUpdateAttributes$AttributeSnapshot", "AttributeSnapshot"); } catch (RuntimeException e) { final Class packetUpdateAttributes = PacketRegistry.getPacketClassFromType(PacketType.Play.Server.UPDATE_ATTRIBUTES, true); final String packetSignature = packetUpdateAttributes.getCanonicalName().replace('.', '/');