Skip to content

Commit b74ac19

Browse files
authored
Fix attribute_modifiers in 1.21.5->1.21.4 (#979)
1 parent 4cca914 commit b74ac19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_5to1_21_4/rewriter/ComponentRewriter1_21_5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private void updateDataComponents(final CompoundTag componentsTag) {
141141
if (attributeModifiers != null) {
142142
removeNamespaced(componentsTag, "attribute_modifiers");
143143
final CompoundTag attributesParent = new CompoundTag();
144-
attributesParent.put("modifiers", attributesParent);
144+
attributesParent.put("modifiers", attributeModifiers);
145145
attributesParent.putBoolean("show_in_tooltip", hiddenComponents.contains("attribute_modifiers"));
146146
componentsTag.put("attribute_modifiers", attributesParent);
147147
}

0 commit comments

Comments
 (0)