mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
This commit is contained in:
parent
2c74d2479f
commit
86746e7843
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue