Skip to content

Commit 32e4a76

Browse files
Fix args being stripped during conversion (#17)
1 parent f39cf78 commit 32e4a76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/eu/pb4/placeholders/impl/GeneralUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public static ParentNode convertToNodes(Text input) {
209209
}
210210

211211

212-
list.add(new TranslatedNode(content.getKey(), list.toArray()));
212+
list.add(new TranslatedNode(content.getKey(), args.toArray()));
213213
} else if (input.getContent() instanceof ScoreTextContent content) {
214214
list.add(new ScoreNode(content.getName(), content.getObjective()));
215215
} else if (input.getContent() instanceof KeybindTextContent content) {

0 commit comments

Comments
 (0)