mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-06 06:41:44 +00:00
add shears to blocks mined
This commit is contained in:
@@ -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.
|
||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user