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
2 changes: 1 addition & 1 deletion src/main/java/me/alexdevs/solstice/api/text/Format.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static Component parse(String text) {
}

public static Component parse(TextNode textNode, PlaceholderContext context, Map<String, Component> placeholders) {
return PARSER.parseNode(new MapPlaceholderParser(PLACEHOLDER_PATTERN, placeholders).parseNode(textNode))
return new MapPlaceholderParser(PLACEHOLDER_PATTERN, placeholders).parseNode(textNode)
//? if < 26.1
.toText(context);
//? if >= 26.1
Expand Down
Loading