Fix async tool lower

This commit is contained in:
nossr50 2019-04-25 18:46:49 -07:00
parent 467025888c
commit 30df57fa35
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.1.49 Version 2.1.49
Fixed a bug where falling blocks were not marked as unnatural in water Fixed a bug where falling blocks were not marked as unnatural in water
Fixed a bug where Ability cooldowns were being called async when they are sync only
Version 2.1.48 Version 2.1.48
1.14 Support 1.14 Support

View File

@ -63,7 +63,7 @@ public class AbilityDisableTask extends BukkitRunnable {
SkillUtils.sendSkillMessage(player, NotificationType.SUPER_ABILITY_ALERT_OTHERS, ability.getAbilityPlayerOff()); SkillUtils.sendSkillMessage(player, NotificationType.SUPER_ABILITY_ALERT_OTHERS, ability.getAbilityPlayerOff());
new AbilityCooldownTask(mcMMOPlayer, ability).runTaskLaterAsynchronously(mcMMO.p, PerksUtils.handleCooldownPerks(player, ability.getCooldown()) * Misc.TICK_CONVERSION_FACTOR); new AbilityCooldownTask(mcMMOPlayer, ability).runTaskLater(mcMMO.p, PerksUtils.handleCooldownPerks(player, ability.getCooldown()) * Misc.TICK_CONVERSION_FACTOR);
} }
private void resendChunkRadiusAt(Player player, int radius) { private void resendChunkRadiusAt(Player player, int radius) {