3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-07-05 23:28:03 +02:00

Fix entity id int type

Dieser Commit ist enthalten in:
kennytv 2021-08-11 15:08:01 +02:00
Ursprung e05c585b37
Commit 54dc05046f
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B

Datei anzeigen

@ -321,7 +321,7 @@ public class EntityPackets1_14 extends LegacyEntityRewriter<Protocol1_13_2To1_14
wrapper.read(Type.VAR_INT); // Read View Distance
// Manually add position storage
int entitiyId = wrapper.get(Type.VAR_INT, 0);
int entitiyId = wrapper.get(Type.INT, 0);
StoredEntityData storedEntity = protocol.getEntityRewriter().tracker(wrapper.user()).entityData(entitiyId);
storedEntity.put(new EntityPositionStorage1_14());
}