Skip to content

Commit

Permalink
fixed issue in menus when new lines are used in a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf2323 committed Dec 24, 2023
1 parent 65277b2 commit c18f064
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public List<String> getLore(final Profile profile) {
}
final List<String> lore = new ArrayList<>(lines.size());
for (final Line line : lines) {
lore.addAll(Arrays.asList(line.resolve(profile).split("\\R")));
lore.addAll(Arrays.asList(line.resolve(profile).split("\n")));
}
return lore;
}
Expand Down

0 comments on commit c18f064

Please sign in to comment.