Merge pull request #287 from Simplicitee/patch-23

Fix invincible Catapult
This commit is contained in:
OmniCypher 2015-11-08 19:56:05 -08:00
commit 7b0c25520e

View file

@ -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;
}