Fix crop growth config option.

This commit is contained in:
wizjany 2021-06-21 16:58:10 -04:00
parent 7155ef5833
commit 6879f10de6

View File

@ -628,7 +628,7 @@ private void handleGrow(Cancellable event, Location loc, Material type) {
WorldConfiguration wcfg = getWorldConfig(loc.getWorld());
if (Materials.isCrop(type)) {
if (wcfg.disableCropGrowth) {
event.setCancelled(false);
event.setCancelled(true);
return;
}