Added option to disable auto tiling of land.

This commit is contained in:
Brianna O'Keefe 2018-10-02 22:54:02 -04:00
parent c466e64d20
commit 1a136125f9
2 changed files with 2 additions and 0 deletions

View File

@ -243,6 +243,7 @@ public class EFarm implements Farm {
public boolean tillLand(Location location) {
EpicFarmingPlugin instance = EpicFarmingPlugin.getInstance();
if (!instance.getConfig().getBoolean("Main.Disable Auto Til Land")) return true;
Block block = location.getBlock();
int radius = level.getRadius();
int bx = block.getX();

View File

@ -200,6 +200,7 @@ public class SettingsManager implements Listener {
o9("Main.Allow Non Command Issued Farm Items", false),
o10("Main.Auto Breeding Cap", 15),
o11("Main.Animate", true),
o123("Main.Disable Auto Til Land", false),
o12("Interfaces.Economy Icon", "SUNFLOWER"),
o13("Interfaces.XP Icon", "EXPERIENCE_BOTTLE"),