forked from Upstream/mmocore
Fixed method used and updated lib
This commit is contained in:
parent
0bc2cf6d44
commit
b7ba962f5b
BIN
lib/MMOLib.jar
BIN
lib/MMOLib.jar
Binary file not shown.
@ -44,7 +44,7 @@ public class StatModifiersCommandMap extends CommandEnd {
|
|||||||
StatInstance instance = data.getStats().getInstance(stat);
|
StatInstance instance = data.getStats().getInstance(stat);
|
||||||
sender.sendMessage("Stat Modifiers (" + instance.getKeys().size() + "):");
|
sender.sendMessage("Stat Modifiers (" + instance.getKeys().size() + "):");
|
||||||
for (String key : instance.getKeys()) {
|
for (String key : instance.getKeys()) {
|
||||||
StatModifier mod = instance.getByKey(key);
|
StatModifier mod = instance.getAttribute(key);
|
||||||
sender.sendMessage("- " + key + ": " + mod.getValue() + " " + mod.getType().name());
|
sender.sendMessage("- " + key + ": " + mod.getValue() + " " + mod.getType().name());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user