mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-01-11 20:10:47 +01:00
Don't process component twice in 1.19.4->1.19.3 text display handler (#878)
This commit is contained in:
parent
830ccce303
commit
ffb98523e6
@ -167,9 +167,6 @@ public final class EntityPacketRewriter1_19_4 extends EntityRewriter<Clientbound
|
||||
event.setIndex(2);
|
||||
data.setDataType(Types1_19_3.ENTITY_DATA_TYPES.optionalComponentType);
|
||||
event.createExtraData(new EntityData(3, Types1_19_3.ENTITY_DATA_TYPES.booleanType, true)); // Show custom name
|
||||
|
||||
final JsonElement element = data.value();
|
||||
protocol.getComponentRewriter().processText(event.user(), element);
|
||||
}));
|
||||
filter().type(EntityTypes1_19_4.DISPLAY).handler((event, data) -> {
|
||||
// TODO Maybe spawn an extra entity to ride the armor stand for blocks and items
|
||||
|
Loading…
Reference in New Issue
Block a user