Skip to content

Commit

Permalink
Update BlockData.java
Browse files Browse the repository at this point in the history
  • Loading branch information
funkemunky committed Aug 12, 2020
1 parent 447fa48 commit d136eef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public enum BlockData {
XMaterial.WITHER_SKELETON_WALL_SKULL.parseMaterial(), XMaterial.WITHER_SKELETON_SKULL.parseMaterial()),

_DOOR(new DoorHandler(), Arrays.stream(Material.values())
.filter(mat -> mat.name().contains("DOOR"))
.filter(mat -> mat.name().contains("DOOR") && !mat.name().contains("TRAP"))
.toArray(Material[]::new)),

_HOPPER(new HopperBounding(), XMaterial.HOPPER.parseMaterial()),
Expand Down

0 comments on commit d136eef

Please sign in to comment.