use the new GLIDER DataComponent

This commit is contained in:
hyperdefined
2025-07-23 12:19:40 -04:00
parent 86cbdd58ff
commit 525df4bcf6
3 changed files with 34 additions and 8 deletions

View File

@@ -169,7 +169,7 @@ public class AnvilEvent implements Listener {
}
return;
}
if (firstSlotMaterial == Material.ELYTRA) {
if (toolStats.itemChecker.canGlide(clone)) {
addToken(event, tokenType, "flight-time", clone);
return;
}