Fixed Tremorsense, WaterArms AllowPlantSource config (#559)

This commit is contained in:
Sobki 2016-08-26 06:47:25 +10:00 committed by OmniCypher
parent a30b4918b4
commit 32cc4f97d7
2 changed files with 3 additions and 3 deletions

View file

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

View file

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