mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Merge pull request #2431 from IntellectualSites/kelp-grow
Add kelp-grow flag
This commit is contained in:
commit
6d0849eb66
@ -1223,6 +1223,11 @@ import java.util.regex.Pattern;
|
|||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case KELP:
|
||||||
|
if (Flags.KELP_GROW.isFalse(plot)) {
|
||||||
|
event.setCancelled(true);
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@ public final class Flags {
|
|||||||
public static final BooleanFlag GRASS_GROW = new BooleanFlag("grass-grow");
|
public static final BooleanFlag GRASS_GROW = new BooleanFlag("grass-grow");
|
||||||
public static final BooleanFlag VINE_GROW = new BooleanFlag("vine-grow");
|
public static final BooleanFlag VINE_GROW = new BooleanFlag("vine-grow");
|
||||||
public static final BooleanFlag MYCEL_GROW = new BooleanFlag("mycel-grow");
|
public static final BooleanFlag MYCEL_GROW = new BooleanFlag("mycel-grow");
|
||||||
|
public static final BooleanFlag KELP_GROW = new BooleanFlag("kelp-grow");
|
||||||
public static final BooleanFlag DISABLE_PHYSICS = new BooleanFlag("disable-physics");
|
public static final BooleanFlag DISABLE_PHYSICS = new BooleanFlag("disable-physics");
|
||||||
public static final BooleanFlag LIQUID_FLOW = new BooleanFlag("liquid-flow");
|
public static final BooleanFlag LIQUID_FLOW = new BooleanFlag("liquid-flow");
|
||||||
public static final BooleanFlag SNOW_MELT = new BooleanFlag("snow-melt");
|
public static final BooleanFlag SNOW_MELT = new BooleanFlag("snow-melt");
|
||||||
|
Loading…
Reference in New Issue
Block a user