1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-06 07:34:43 +02:00

Added option to disable gaining Acrobatics XP from dodging lightning

strikes. Fixes 
This commit is contained in:
GJ
2013-01-13 16:03:49 -05:00
parent 6a7f92b4e2
commit 606195c78a
3 changed files with 9 additions and 0 deletions
src/main
java
com
gmail
nossr50
resources

@ -268,6 +268,9 @@ public class Config extends ConfigLoader {
public boolean getAcrobaticsAFKDisabled() { return config.getBoolean("Skills.Acrobatics.Prevent_AFK_Leveling", true); }
public boolean getHerbalismAFKDisabled() { return config.getBoolean("Skills.Herbalism.Prevent_AFK_Leveling", true); }
/* Dogde Lightning */
public boolean getDodgeLightningDisabled() {return config.getBoolean("Skills.Acrobatics.Prevent_Dodge_Lightning", false); }
/* Level Caps */
public int getLevelCapAcrobatics() {
return getLevelCap("Skills.Acrobatics.Level_Cap");