Fix crop growth config option.
This commit is contained in:
parent
7155ef5833
commit
6879f10de6
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue