mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-29 20:36:00 +00:00
idk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user