mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-12 03:59:06 +00:00
Merge pull request #287 from Simplicitee/patch-23
Fix invincible Catapult
This commit is contained in:
commit
7b0c25520e
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");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
super.remove();
|
||||
GeneralMethods.invincible.remove(this);
|
||||
}
|
||||
|
||||
public void setLength(int length) {
|
||||
this.length = length;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue