removed unnecessary and erroneous filter for roof materials

This commit is contained in:
mindw0rm 2020-02-12 16:12:12 +01:00
parent e30f030dc8
commit a5a9f98ad5

View File

@ -21,7 +21,6 @@ public class Roof extends MinMaxXZ {
static {
List<Material> 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