From a5a9f98ad5b472c93376fd9bd52366f939e49c8d Mon Sep 17 00:00:00 2001 From: mindw0rm Date: Wed, 12 Feb 2020 16:12:12 +0100 Subject: [PATCH] removed unnecessary and erroneous filter for roof materials --- src/main/java/world/bentobox/greenhouses/greenhouse/Roof.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/world/bentobox/greenhouses/greenhouse/Roof.java b/src/main/java/world/bentobox/greenhouses/greenhouse/Roof.java index 0e3eb7b..187c496 100644 --- a/src/main/java/world/bentobox/greenhouses/greenhouse/Roof.java +++ b/src/main/java/world/bentobox/greenhouses/greenhouse/Roof.java @@ -21,7 +21,6 @@ public class Roof extends MinMaxXZ { static { List r = Arrays.stream(Material.values()) .filter(Material::isBlock) // Blocks only, no items - .filter(m -> !m.name().contains("DOOR")) // No doors .filter(m -> m.name().contains("TRAPDOOR") // All trapdoors || m.name().contains("GLASS") // All glass blocks || m.equals(Material.HOPPER) // Hoppers