From b056972d308ead1dfaace8e0b4c2085ae64ed107 Mon Sep 17 00:00:00 2001 From: hyperdefined Date: Wed, 23 Jul 2025 12:30:46 -0400 Subject: [PATCH] swap order of anvil checking to account --- src/main/java/lol/hyper/toolstats/events/AnvilEvent.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/lol/hyper/toolstats/events/AnvilEvent.java b/src/main/java/lol/hyper/toolstats/events/AnvilEvent.java index cba6e20..26e5f68 100644 --- a/src/main/java/lol/hyper/toolstats/events/AnvilEvent.java +++ b/src/main/java/lol/hyper/toolstats/events/AnvilEvent.java @@ -131,6 +131,10 @@ public class AnvilEvent implements Listener { } return; } + if (toolStats.itemChecker.canGlide(clone)) { + addToken(event, tokenType, "flight-time", clone); + return; + } if (toolStats.itemChecker.isArmor(firstSlotMaterial)) { addToken(event, tokenType, "damage-taken", clone); return; @@ -169,10 +173,6 @@ public class AnvilEvent implements Listener { } return; } - if (toolStats.itemChecker.canGlide(clone)) { - addToken(event, tokenType, "flight-time", clone); - return; - } if (firstSlotMaterial == Material.FISHING_ROD) { addToken(event, tokenType, "fish-caught", clone); }