This commit is contained in:
hyperdefined
2025-01-26 18:59:36 -05:00
parent 24ee5f9d42
commit fd7f75fbb3
3 changed files with 2 additions and 3 deletions

View File

@@ -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);