removed unnecessary and erroneous filter for roof materials (#45)

This commit is contained in:
mindw0rm 2020-02-12 16:50:01 +01:00 committed by GitHub
parent e30f030dc8
commit 852d35ea6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

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