mirror of
https://github.com/BentoBoxWorld/Greenhouses.git
synced 2024-11-01 00:09:29 +01:00
removed unnecessary and erroneous filter for roof materials
This commit is contained in:
parent
e30f030dc8
commit
a5a9f98ad5
@ -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