Forget about fence gates

This commit is contained in:
Rammelkast committed 2021-12-22 21:56:29 +01:00
1 parent 6fabd73432
commit 40985ac7d6
1 file changed
+1 -1
@@ -370,7 +370,7 @@ public final class Utilities {
*/
public static boolean isWall(final Block block) {
Material type = block.getType();
return type.name().endsWith("WALL") || type.name().endsWith("FENCE");
return type.name().endsWith("WALL") || type.name().endsWith("FENCE") || type.name().endsWith("FENCE_GATE");
}
public static boolean isNearWall(final Location location) {