Fix crop growth config option.

This commit is contained in:
wizjany 2021-06-21 16:58:10 -04:00
parent 7155ef5833
commit 6879f10de6
1 changed files with 1 additions and 1 deletions

View File

@ -628,7 +628,7 @@ public class WorldGuardBlockListener implements Listener {
WorldConfiguration wcfg = getWorldConfig(loc.getWorld());
if (Materials.isCrop(type)) {
if (wcfg.disableCropGrowth) {
event.setCancelled(false);
event.setCancelled(true);
return;
}