mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
This commit is contained in:
parent
2c74d2479f
commit
86746e7843
@ -1216,7 +1216,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (event.getSource().getType()) {
|
switch (event.getSource().getType()) {
|
||||||
case GRASS:
|
case GRASS_BLOCK:
|
||||||
if (!plot.getFlag(GrassGrowFlag.class)) {
|
if (!plot.getFlag(GrassGrowFlag.class)) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user