Update Version9.java

This commit is contained in:
hyperdefined
2025-01-26 19:37:51 -05:00
parent 9ee1f773da
commit f78609b9ed

View File

@@ -95,7 +95,9 @@ public class Version9 {
private void addToken(String tokenType, String title, String lore) { private void addToken(String tokenType, String title, String lore) {
toolStats.logger.info("Adding token type configuration for " + tokenType); toolStats.logger.info("Adding token type configuration for " + tokenType);
toolStats.config.set("tokens.data." + tokenType + ".title", title); toolStats.config.set("tokens.data." + tokenType + ".title", title);
toolStats.config.set("tokens.data." + tokenType + ".lore", lore); List<String> loreList = new ArrayList<>();
loreList.add(lore);
toolStats.config.set("tokens.data." + tokenType + ".lore", loreList);
toolStats.config.set("tokens.data." + tokenType + ".levels", 1); toolStats.config.set("tokens.data." + tokenType + ".levels", 1);
} }
} }