mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2026-04-23 11:21:24 +00:00
hyperlib demo
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user