mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-12-18 07:07:38 +01:00
parent
7291837b9d
commit
f72a6d8695
@ -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('.', '/');
|
||||
|
Loading…
Reference in New Issue
Block a user