SteamWar/SpigotCore
Archiviert
13
0

Fix REntity
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2023-03-03 16:44:02 +01:00
Ursprung 893c42d746
Commit d10cd22ecd

Datei anzeigen

@ -350,7 +350,7 @@ public class REntity {
}
private static final Class<?> metadataPacket = Reflection.getClass("{nms.network.protocol.game}.PacketPlayOutEntityMetadata");
private static final Reflection.FieldAccessor<Integer> metadataEntity = Reflection.getField(metadataPacket, int.class, Core.getVersion() > 18 ? 1 : 0);
private static final Reflection.FieldAccessor<Integer> metadataEntity = Reflection.getField(metadataPacket, int.class, 0);
private static final Reflection.FieldAccessor<List> metadataMetadata = Reflection.getField(metadataPacket, List.class, 0);
protected Object getDataWatcherPacket(Object... dataWatcherKeyValues) {