File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/lol/hyper/toolstats/events Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,10 @@ public void onAnvilEvent(PrepareAnvilEvent event) {
131131 }
132132 return ;
133133 }
134+ if (toolStats .itemChecker .canGlide (clone )) {
135+ addToken (event , tokenType , "flight-time" , clone );
136+ return ;
137+ }
134138 if (toolStats .itemChecker .isArmor (firstSlotMaterial )) {
135139 addToken (event , tokenType , "damage-taken" , clone );
136140 return ;
@@ -169,10 +173,6 @@ public void onAnvilEvent(PrepareAnvilEvent event) {
169173 }
170174 return ;
171175 }
172- if (toolStats .itemChecker .canGlide (clone )) {
173- addToken (event , tokenType , "flight-time" , clone );
174- return ;
175- }
176176 if (firstSlotMaterial == Material .FISHING_ROD ) {
177177 addToken (event , tokenType , "fish-caught" , clone );
178178 }
You can’t perform that action at this time.
0 commit comments