mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Removed Abilities.Tools.Durability_Loss_Enabled
Set Abilities.Tools.Durability_Loss to 0 to disable instead. Addresses #1357
This commit is contained in:
parent
fcb8909a54
commit
dcc18049a1
@ -22,6 +22,7 @@ Version 1.4.07-dev
|
|||||||
! Improved profile saving
|
! Improved profile saving
|
||||||
! Updated localization files
|
! Updated localization files
|
||||||
! Party item share category states are now saved when the server shuts down.
|
! Party item share category states are now saved when the server shuts down.
|
||||||
|
- Removed Abilities.Tools.Durability_Loss_Enabled, set Abilities.Tools.Durability_Loss to 0 to disable instead.
|
||||||
|
|
||||||
Version 1.4.06
|
Version 1.4.06
|
||||||
+ Added "Ice Fishing" ability to Fishing
|
+ Added "Ice Fishing" ability to Fishing
|
||||||
|
@ -132,8 +132,8 @@ public class Config extends AutoUpdateConfigLoader {
|
|||||||
reason.add("Commands.inspect.Max_Distance should be greater than 0!");
|
reason.add("Commands.inspect.Max_Distance should be greater than 0!");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getAbilityToolDamage() <= 0) {
|
if (getAbilityToolDamage() < 0) {
|
||||||
reason.add("Abilities.Tools.Durability_Loss should be greater than 0!");
|
reason.add("Abilities.Tools.Durability_Loss should be at least 0!");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getTreeFellerThreshold() <= 0) {
|
if (getTreeFellerThreshold() <= 0) {
|
||||||
@ -365,7 +365,6 @@ public class Config extends AutoUpdateConfigLoader {
|
|||||||
public int getMaxTicks(AbilityType ability) { return config.getInt("Abilities.Max_Seconds." + ability.toString()); }
|
public int getMaxTicks(AbilityType ability) { return config.getInt("Abilities.Max_Seconds." + ability.toString()); }
|
||||||
|
|
||||||
/* Durability Settings */
|
/* Durability Settings */
|
||||||
public boolean getAbilitiesDamageTools() { return config.getBoolean("Abilities.Tools.Durability_Loss_Enabled", true); }
|
|
||||||
public int getAbilityToolDamage() { return config.getInt("Abilities.Tools.Durability_Loss", 2); }
|
public int getAbilityToolDamage() { return config.getInt("Abilities.Tools.Durability_Loss", 2); }
|
||||||
|
|
||||||
/* Thresholds */
|
/* Thresholds */
|
||||||
|
@ -166,7 +166,7 @@ Abilities:
|
|||||||
Limits:
|
Limits:
|
||||||
Tree_Feller_Threshold: 500
|
Tree_Feller_Threshold: 500
|
||||||
Tools:
|
Tools:
|
||||||
Durability_Loss_Enabled: true
|
# Use more tool durability while using abilities. Set Durability_Loss to 0 to disable the extra durability damage.
|
||||||
Durability_Loss: 2
|
Durability_Loss: 2
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user