mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
Fix invincible Catapult
- Fixes invincible in Catapult, removing that instance of Catapult from the invincible arraylist
This commit is contained in:
parent
f025631a17
commit
db130258c3
1 changed files with 6 additions and 0 deletions
|
@ -206,6 +206,12 @@ public class Catapult extends CoreAbility {
|
||||||
PUSH = ProjectKorra.plugin.getConfig().getDouble("Abilities.Earth.Catapult.Push");
|
PUSH = ProjectKorra.plugin.getConfig().getDouble("Abilities.Earth.Catapult.Push");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void remove() {
|
||||||
|
super.remove();
|
||||||
|
GeneralMethods.invincible.remove(this);
|
||||||
|
}
|
||||||
|
|
||||||
public void setLength(int length) {
|
public void setLength(int length) {
|
||||||
this.length = length;
|
this.length = length;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue