mirror of
https://github.com/hyperdefined/ToolStats.git
synced 2025-12-06 06:41:44 +00:00
swap order of anvil checking to account
This commit is contained in:
@@ -131,6 +131,10 @@ public class AnvilEvent implements Listener {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (toolStats.itemChecker.canGlide(clone)) {
|
||||||
|
addToken(event, tokenType, "flight-time", clone);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (toolStats.itemChecker.isArmor(firstSlotMaterial)) {
|
if (toolStats.itemChecker.isArmor(firstSlotMaterial)) {
|
||||||
addToken(event, tokenType, "damage-taken", clone);
|
addToken(event, tokenType, "damage-taken", clone);
|
||||||
return;
|
return;
|
||||||
@@ -169,10 +173,6 @@ public class AnvilEvent implements Listener {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (toolStats.itemChecker.canGlide(clone)) {
|
|
||||||
addToken(event, tokenType, "flight-time", clone);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (firstSlotMaterial == Material.FISHING_ROD) {
|
if (firstSlotMaterial == Material.FISHING_ROD) {
|
||||||
addToken(event, tokenType, "fish-caught", clone);
|
addToken(event, tokenType, "fish-caught", clone);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user