mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
This commit is contained in:
parent
53e4b728a6
commit
def33bc9ad
@ -780,8 +780,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Plot plot = area.getOwnedPlot(location);
|
Plot plot = area.getOwnedPlot(location);
|
||||||
Optional<Boolean> flag;
|
switch (event.getSource().getType()) {
|
||||||
switch (block.getType()) {
|
|
||||||
case GRASS:
|
case GRASS:
|
||||||
if (Flags.GRASS_GROW.isFalse(plot)) {
|
if (Flags.GRASS_GROW.isFalse(plot)) {
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user