Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
18w08b trying entity rewrite^2
Dieser Commit ist enthalten in:
Ursprung
909bbc43d0
Commit
6498c010f8
@ -37,6 +37,8 @@ public class EntityPackets {
|
||||
Entity1_12Types.getTypeFromId(type, true).name()
|
||||
);
|
||||
|
||||
wrapper.set(Type.BYTE, 0, (byte) entType.getId());
|
||||
|
||||
// Register Type ID
|
||||
wrapper.user().get(EntityTracker.class).addEntity(entityId, entType);
|
||||
}
|
||||
@ -71,6 +73,9 @@ public class EntityPackets {
|
||||
Entity1_13Types.EntityType entType = Entity1_13Types.EntityType.valueOf(
|
||||
Entity1_12Types.getTypeFromId(type, false).name()
|
||||
);
|
||||
|
||||
wrapper.set(Type.VAR_INT, 1, type = entType.getId());
|
||||
|
||||
// Register Type ID
|
||||
wrapper.user().get(EntityTracker.class).addEntity(entityId, entType);
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren