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
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue