Exploit Prevention config pt 2

This commit is contained in:
nossr50
2019-03-14 17:34:13 -07:00
parent d272d60112
commit 094850ab85
7 changed files with 92 additions and 44 deletions

View File

@@ -222,12 +222,12 @@ public class ExperienceConfig extends ConfigValidated {
* FORMULA SETTINGS
*/
/* EXPLOIT TOGGLES */
public boolean isEndermanEndermiteFarmingPrevented() {
return getBooleanValue(EXPLOIT_FIX, ENDERMAN_ENDERMITE_FARMS);
}
public boolean isFishingExploitingPrevented() { return config.getBoolean("ExploitFix.Fishing", true); }
/* Curve settings */
public FormulaType getFormulaType() {
return FormulaType.getFormulaType(getStringValue(EXPERIENCE_FORMULA, CURVE));