mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Fixed abilities not activating
This commit is contained in:
parent
9798c10de3
commit
96aa4fdc6d
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue