Fixed abilities not activating

This commit is contained in:
Sollace 2019-02-03 17:43:37 +02:00
parent 9798c10de3
commit 96aa4fdc6d

View file

@ -63,6 +63,7 @@ class PlayerAbilityDelegate implements IAbilityReceiver, IUpdatable<EntityPlayer
protected synchronized void setAbility(@Nullable IPower<?> power) {
if (activeAbility != power) {
triggered = false;
activeAbility = power;
warmup = power == null ? 0 : power.getWarmupTime(player);
cooldown = 0;