202203204205206207208209
* Reset the mode of all abilities. */ public void resetAbilityMode() { for (AbilityType ability : AbilityType.values()) { // Correctly disable and handle any special deactivate code new AbilityDisableTask(this, ability).run(); } }
761762763764765766767
if (ability == AbilityType.SUPER_BREAKER || ability == AbilityType.GIGA_DRILL_BREAKER) { SkillUtils.handleAbilitySpeedIncrease(player); } new AbilityDisableTask(this, ability).runTaskLater(mcMMO.p, ticks * Misc.TICK_CONVERSION_FACTOR); }