Ursprung
7291837b9d
Commit
f72a6d8695
@ -1500,7 +1500,7 @@ public class MinecraftReflection {
|
|||||||
*/
|
*/
|
||||||
public static Class<?> getAttributeSnapshotClass() {
|
public static Class<?> getAttributeSnapshotClass() {
|
||||||
try {
|
try {
|
||||||
return getMinecraftClass("AttributeSnapshot");
|
return getMinecraftClass("PacketPlayOutUpdateAttributes$AttributeSnapshot", "AttributeSnapshot");
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
final Class<?> packetUpdateAttributes = PacketRegistry.getPacketClassFromType(PacketType.Play.Server.UPDATE_ATTRIBUTES, true);
|
final Class<?> packetUpdateAttributes = PacketRegistry.getPacketClassFromType(PacketType.Play.Server.UPDATE_ATTRIBUTES, true);
|
||||||
final String packetSignature = packetUpdateAttributes.getCanonicalName().replace('.', '/');
|
final String packetSignature = packetUpdateAttributes.getCanonicalName().replace('.', '/');
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren