mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-05 22:31:45 +00:00
swap order of anvil checking to account
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user