few fixes

This commit is contained in:
hyperdefined
2025-05-15 18:33:27 -04:00
parent 0efc07b12b
commit 364859bc0a
2 changed files with 12 additions and 18 deletions

View File

@@ -245,7 +245,7 @@ public class ConfigTools {
List<Component> finalLore = new ArrayList<>();
for (String line : raw) {
if (line.contains("{levels}")) {
Integer levels = toolStats.config.getInt("tokes.data." + tokenType + ".levels");
Integer levels = toolStats.config.getInt("tokens.data." + tokenType + ".levels");
// will return 0 if it doesn't exist
if (levels != 0) {
line = line.replace("{levels}", String.valueOf(levels));