From 86746e784340b1a4cfd2d05e840d4c1fb84ae1b7 Mon Sep 17 00:00:00 2001 From: N0tMyFaultOG Date: Wed, 3 Jun 2020 21:18:46 +0200 Subject: [PATCH] Fixed https://issues.intellectualsites.com/issue/PS-26 --- .../main/java/com/plotsquared/bukkit/listener/PlayerEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEvents.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEvents.java index 073b7939d..5a047b5c6 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEvents.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listener/PlayerEvents.java @@ -1216,7 +1216,7 @@ public class PlayerEvents extends PlotListener implements Listener { return; } switch (event.getSource().getType()) { - case GRASS: + case GRASS_BLOCK: if (!plot.getFlag(GrassGrowFlag.class)) { event.setCancelled(true); }