mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-02-20 14:21:22 +01:00
Fixed an issue with /mmocore debug statmods
This commit is contained in:
parent
532fe31833
commit
18b2e032f3
2
pom.xml
2
pom.xml
@ -140,7 +140,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.lumine</groupId>
|
<groupId>io.lumine</groupId>
|
||||||
<artifactId>MythicLib-dist</artifactId>
|
<artifactId>MythicLib-dist</artifactId>
|
||||||
<version>1.3-R28-SNAPSHOT</version>
|
<version>1.3-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ public class StatModifiersCommandTreeNode extends CommandTreeNode {
|
|||||||
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.getAttribute(key);
|
StatModifier mod = instance.getModifier(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