Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2025-01-12 07:56:15 +01:00
Fix entity id int type
Dieser Commit ist enthalten in:
Ursprung
e05c585b37
Commit
54dc05046f
@ -321,7 +321,7 @@ public class EntityPackets1_14 extends LegacyEntityRewriter<Protocol1_13_2To1_14
|
|||||||
wrapper.read(Type.VAR_INT); // Read View Distance
|
wrapper.read(Type.VAR_INT); // Read View Distance
|
||||||
|
|
||||||
// Manually add position storage
|
// 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);
|
StoredEntityData storedEntity = protocol.getEntityRewriter().tracker(wrapper.user()).entityData(entitiyId);
|
||||||
storedEntity.put(new EntityPositionStorage1_14());
|
storedEntity.put(new EntityPositionStorage1_14());
|
||||||
}
|
}
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren