Correcting a bug with the new Enderman Endermite farm exploit fix and making it toggleable for servers that wish to allow it!

This commit is contained in:
nossr50
2019-01-31 14:40:37 -08:00
parent 4c63eee6d5
commit d609b45e68
4 changed files with 13 additions and 3 deletions

View File

@ -141,6 +141,9 @@ public class ExperienceConfig extends AutoUpdateConfigLoader {
* FORMULA SETTINGS
*/
/* EXPLOIT TOGGLES */
public boolean isEndermanEndermiteFarmingPrevented() { return config.getBoolean("ExploitFix.EndermanEndermiteFarms", true); }
/* Curve settings */
public FormulaType getFormulaType() { return FormulaType.getFormulaType(config.getString("Experience_Formula.Curve")); }
public boolean getCumulativeCurveEnabled() { return config.getBoolean("Experience_Formula.Cumulative_Curve", false); }