hyperlib demo

This commit is contained in:
hyperdefined
2025-08-04 13:29:26 -04:00
parent c0d79fd740
commit e48be6ba20
17 changed files with 61 additions and 184 deletions

View File

@@ -170,7 +170,8 @@ public class TokenData {
PersistentDataContainer tokenData = tokenMeta.getPersistentDataContainer();
// set the title and lore
Component title = toolStats.configTools.format("tokens.data." + tokenType + ".title");
String titleFromConfig = toolStats.config.getString("tokens.data." + tokenType + ".title");
Component title = toolStats.textUtils.format(titleFromConfig);
List<Component> lore = toolStats.configTools.getTokenLore(tokenType);
tokenMeta.displayName(title);
tokenMeta.lore(lore);