mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Add kelp-grow flag
Simply as the name says, add a controlled way to let kelp grow.
This commit is contained in:
parent
cdc01a5bc4
commit
cd26b1647d
@ -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