Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ private void updateProfileTag(final CompoundTag tag, final CompoundTag profileTa
final String value = propertyTag.getString("value", "");
final String signature = propertyTag.getString("signature");

final ListTag<CompoundTag> list = new ListTag<>(CompoundTag.class);
ListTag<CompoundTag> list = propertiesTag.getListTag(property, CompoundTag.class);
if (list == null) {
list = new ListTag<>(CompoundTag.class);
}
final CompoundTag updatedPropertyTag = new CompoundTag();
updatedPropertyTag.putString("Value", value);
if (signature != null) {
Expand Down