mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-22 16:05:01 +00:00
Fixed Tremorsense, WaterArms AllowPlantSource config (#559)
This commit is contained in:
parent
a30b4918b4
commit
32cc4f97d7
2 changed files with 3 additions and 3 deletions
|
@ -719,7 +719,7 @@ public class ConfigManager {
|
|||
config.addDefault("Abilities.Water.WaterArms.Arms.MaxAlternateUsage", 50);
|
||||
config.addDefault("Abilities.Water.WaterArms.Arms.MaxIceShots", 8);
|
||||
config.addDefault("Abilities.Water.WaterArms.Arms.Cooldown", 20000);
|
||||
config.addDefault("Abilities.Water.WaterArms.Arms.AllowPlantSource", false);
|
||||
config.addDefault("Abilities.Water.WaterArms.Arms.AllowPlantSource", true);
|
||||
|
||||
config.addDefault("Abilities.Water.WaterArms.Arms.Lightning.Enabled", true);
|
||||
config.addDefault("Abilities.Water.WaterArms.Arms.Lightning.Damage", Double.valueOf(10.0));
|
||||
|
|
|
@ -33,7 +33,7 @@ public class Tremorsense extends EarthAbility {
|
|||
this.lightThreshold = (byte) getConfig().getInt("Abilities.Earth.Tremorsense.LightThreshold");
|
||||
this.cooldown = getConfig().getLong("Abilities.Earth.Tremorsense.Cooldown");
|
||||
|
||||
if (!bPlayer.canBend(this)) {
|
||||
if (!bPlayer.canBendIgnoreBinds(this)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -134,7 +134,7 @@ public class Tremorsense extends EarthAbility {
|
|||
BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player);
|
||||
|
||||
if (bPlayer != null && !hasAbility(player, Tremorsense.class)
|
||||
&& bPlayer.canBend(getAbility("Tremorsense"))) {
|
||||
&& bPlayer.canBendIgnoreBinds(getAbility("Tremorsense"))) {
|
||||
new Tremorsense(player);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue