mirror of
https://github.com/BentoBoxWorld/Greenhouses.git
synced 2025-02-08 00:03:17 +01:00
removed unnecessary and erroneous filter for roof materials (#45)
This commit is contained in:
parent
e30f030dc8
commit
852d35ea6f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user