mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
Fix invincible FireJet
- Fixes invincible in firejet, making it remove that instance of firejet from the invincible arraylist
This commit is contained in:
parent
f025631a17
commit
e606c08836
1 changed files with 6 additions and 0 deletions
|
@ -132,6 +132,12 @@ public class FireJet extends CoreAbility {
|
|||
defaultduration = config.get().getLong("Abilities.Fire.FireJet.Duration");
|
||||
isToggle = config.get().getBoolean("Abilities.Fire.FireJet.IsAvatarStateToggle");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
super.remove();
|
||||
GeneralMethods.invincible.remove(this);
|
||||
}
|
||||
|
||||
public void setDuration(long duration) {
|
||||
this.duration = duration;
|
||||
|
|
Loading…
Reference in a new issue