Skip to content

Commit

Permalink
Don't process component twice in 1.19.4->1.19.3 text display handler (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianMichael committed Aug 30, 2024
1 parent 830ccce commit ffb9852
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@ public void registerRewrites() {
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
Expand Down

0 comments on commit ffb9852

Please sign in to comment.