mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-05 22:31:45 +00:00
added missing stat for reset command
This commit is contained in:
@@ -367,6 +367,14 @@ public class CommandToolStats implements TabExecutor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (toolStats.configTools.checkConfig(original.getType(), "damage-done")) {
|
||||||
|
if (container.has(toolStats.damageDone, PersistentDataType.DOUBLE)) {
|
||||||
|
Double damage = container.get(toolStats.damageDone, PersistentDataType.DOUBLE);
|
||||||
|
if (damage != null) {
|
||||||
|
lore.add(toolStats.configTools.formatLore("damage-done", "{damage}", toolStats.numberFormat.formatDouble(damage)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
if (toolStats.config.getBoolean("enabled.arrows-shot")) {
|
if (toolStats.config.getBoolean("enabled.arrows-shot")) {
|
||||||
if (container.has(toolStats.arrowsShot, PersistentDataType.INTEGER)) {
|
if (container.has(toolStats.arrowsShot, PersistentDataType.INTEGER)) {
|
||||||
Integer arrows = container.get(toolStats.arrowsShot, PersistentDataType.INTEGER);
|
Integer arrows = container.get(toolStats.arrowsShot, PersistentDataType.INTEGER);
|
||||||
|
|||||||
Reference in New Issue
Block a user