add shears to blocks mined

This commit is contained in:
hyperdefined
2022-01-28 20:40:07 -05:00
parent bc6a1840d1
commit c0996e82e7
2 changed files with 2 additions and 1 deletions

View File

@@ -7,4 +7,5 @@ A simple plugin to track cool stats for your tools and armor!
* ~~Track armor damage.~~ * ~~Track armor damage.~~
* ~~Track fish caught.~~ * ~~Track fish caught.~~
* ~~Track sheep sheared.~~ * ~~Track sheep sheared.~~
* If player kills player, tag their tools and armor with "Dropped by"
* Properly handle combing of tools. Stats should combine together. * Properly handle combing of tools. Stats should combine together.

View File

@@ -20,7 +20,7 @@ import java.util.List;
public class BlocksMined implements Listener { public class BlocksMined implements Listener {
private final ToolStats toolStats; private final ToolStats toolStats;
private final String[] validTools = {"pickaxe", "axe", "hoe", "shovel"}; private final String[] validTools = {"pickaxe", "axe", "hoe", "shovel", "shear"};
private final String blocksMinedLore = ChatColor.GRAY + "Blocks mined: " + ChatColor.DARK_GRAY + "X"; private final String blocksMinedLore = ChatColor.GRAY + "Blocks mined: " + ChatColor.DARK_GRAY + "X";
public BlocksMined(ToolStats toolStats) { public BlocksMined(ToolStats toolStats) {