Skip to content

Commit

Permalink
copy over children correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz committed Mar 7, 2025
1 parent a566160 commit 4f06b63
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ public MiniMessageTranslator(final @NotNull MiniMessage miniMessage) {
resultingComponent = this.miniMessage.deserialize(miniMessageString, new ArgumentTag(component.arguments()));
}

if (component.children().isEmpty()) {
return resultingComponent;
} else {
return resultingComponent.children(component.children());
}
return resultingComponent.append(component.children());
}
}

0 comments on commit 4f06b63

Please sign in to comment.