mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Metal Clips fixes (#555)
* Metal Clips no longer deletes iron ingots upon instance removal. * Metal Clips shoot cooldown now 0 by default
This commit is contained in:
parent
1ede291efd
commit
6bd5669417
2 changed files with 1 additions and 4 deletions
|
@ -912,7 +912,7 @@ public class ConfigManager {
|
||||||
config.addDefault("Abilities.Earth.MetalClips.MagnetPower", 0.6);
|
config.addDefault("Abilities.Earth.MetalClips.MagnetPower", 0.6);
|
||||||
config.addDefault("Abilities.Earth.MetalClips.Cooldown", 6000);
|
config.addDefault("Abilities.Earth.MetalClips.Cooldown", 6000);
|
||||||
config.addDefault("Abilities.Earth.MetalClips.CrushCooldown", 2000);
|
config.addDefault("Abilities.Earth.MetalClips.CrushCooldown", 2000);
|
||||||
config.addDefault("Abilities.Earth.MetalClips.ShootCooldown", 1500);
|
config.addDefault("Abilities.Earth.MetalClips.ShootCooldown", 0);
|
||||||
config.addDefault("Abilities.Earth.MetalClips.Duration", 10000);
|
config.addDefault("Abilities.Earth.MetalClips.Duration", 10000);
|
||||||
config.addDefault("Abilities.Earth.MetalClips.ThrowEnabled", true);
|
config.addDefault("Abilities.Earth.MetalClips.ThrowEnabled", true);
|
||||||
|
|
||||||
|
|
|
@ -459,9 +459,6 @@ public class MetalClips extends MetalAbility {
|
||||||
@Override
|
@Override
|
||||||
public void remove() {
|
public void remove() {
|
||||||
super.remove();
|
super.remove();
|
||||||
for (Item i : trackedIngots) {
|
|
||||||
i.remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
resetArmor();
|
resetArmor();
|
||||||
trackedIngots.clear();
|
trackedIngots.clear();
|
||||||
|
|
Loading…
Reference in a new issue