We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ee1f77 commit f78609bCopy full SHA for f78609b
src/main/java/lol/hyper/toolstats/tools/config/versions/Version9.java
@@ -95,7 +95,9 @@ public void update() {
95
private void addToken(String tokenType, String title, String lore) {
96
toolStats.logger.info("Adding token type configuration for " + tokenType);
97
toolStats.config.set("tokens.data." + tokenType + ".title", title);
98
- toolStats.config.set("tokens.data." + tokenType + ".lore", lore);
+ List<String> loreList = new ArrayList<>();
99
+ loreList.add(lore);
100
+ toolStats.config.set("tokens.data." + tokenType + ".lore", loreList);
101
toolStats.config.set("tokens.data." + tokenType + ".levels", 1);
102
}
103
0 commit comments