mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-05 22:31:45 +00:00
idk
This commit is contained in:
@@ -116,7 +116,7 @@ public final class ToolStats extends JavaPlugin {
|
||||
public final Logger logger = this.getLogger();
|
||||
public final File configFile = new File(this.getDataFolder(), "config.yml");
|
||||
public boolean tokens = false;
|
||||
public Set<NamespacedKey> tokenKeys = new HashSet<>();
|
||||
public final Set<NamespacedKey> tokenKeys = new HashSet<>();
|
||||
|
||||
public BlockBreak blockBreak;
|
||||
public ChunkPopulate chunkPopulate;
|
||||
|
||||
@@ -92,7 +92,7 @@ public class EntityDamage implements Listener {
|
||||
// trident is being thrown at something
|
||||
if (event.getDamager() instanceof Trident trident) {
|
||||
ItemStack newTrident = trident.getItemStack();
|
||||
ItemMeta newMeta = null;
|
||||
ItemMeta newMeta;
|
||||
// trident is killing player
|
||||
if (mobBeingAttacked instanceof Player) {
|
||||
newMeta = toolStats.itemLore.updatePlayerKills(trident.getItemStack(), 1);
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.bukkit.event.entity.EntityShootBowEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.PlayerInventory;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
public class ShootBow implements Listener {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user