mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-21 12:24:22 +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) {
|
protected synchronized void setAbility(@Nullable IPower<?> power) {
|
||||||
if (activeAbility != power) {
|
if (activeAbility != power) {
|
||||||
|
triggered = false;
|
||||||
activeAbility = power;
|
activeAbility = power;
|
||||||
warmup = power == null ? 0 : power.getWarmupTime(player);
|
warmup = power == null ? 0 : power.getWarmupTime(player);
|
||||||
cooldown = 0;
|
cooldown = 0;
|
||||||
|
|
Loading…
Reference in a new issue