Fix invincible Catapult

- Fixes invincible in Catapult, removing that instance of Catapult from the invincible arraylist
This commit is contained in:
Simplicitee 2015-11-08 22:17:45 -05:00
parent f025631a17
commit db130258c3

View file

@ -205,6 +205,12 @@ public class Catapult extends CoreAbility {
SPEED = ProjectKorra.plugin.getConfig().getDouble("Abilities.Earth.Catapult.Speed"); SPEED = ProjectKorra.plugin.getConfig().getDouble("Abilities.Earth.Catapult.Speed");
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;