Fixed method used and updated lib

This commit is contained in:
Indyuce 2020-07-04 14:30:45 +02:00
parent 0bc2cf6d44
commit b7ba962f5b
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -44,7 +44,7 @@ public class StatModifiersCommandMap extends CommandEnd {
StatInstance instance = data.getStats().getInstance(stat);
sender.sendMessage("Stat Modifiers (" + instance.getKeys().size() + "):");
for (String key : instance.getKeys()) {
StatModifier mod = instance.getByKey(key);
StatModifier mod = instance.getAttribute(key);
sender.sendMessage("- " + key + ": " + mod.getValue() + " " + mod.getType().name());
}