Skip to content

Commit

Permalink
removed unnecessary and erroneous filter for roof materials (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
mindw0rm committed Feb 12, 2020
1 parent e30f030 commit 852d35e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 852d35e

Please sign in to comment.