mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-10 22:55:04 +00:00
add flight time (#62)
This commit is contained in:
@@ -55,6 +55,7 @@ public class ItemChecker {
|
||||
validItems.add(Material.BOW);
|
||||
validItems.add(Material.FISHING_ROD);
|
||||
validItems.add(Material.CROSSBOW);
|
||||
validItems.add(Material.ELYTRA);
|
||||
|
||||
// combine the lists
|
||||
validItems.addAll(armorItems);
|
||||
|
||||
@@ -171,6 +171,9 @@ public class ConfigTools {
|
||||
if (lore.contains("{arrows}")) {
|
||||
lore = lore.replace("{arrows}", "");
|
||||
}
|
||||
if (lore.contains("{time}")) {
|
||||
lore = lore.replace("{time}", "");
|
||||
}
|
||||
}
|
||||
return lore;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user