From d136eef34d861aa7164eb84e804a79d70191cb01 Mon Sep 17 00:00:00 2001 From: Dawson Hessler Date: Wed, 12 Aug 2020 14:02:02 -0400 Subject: [PATCH] Update BlockData.java --- .../src/main/java/cc/funkemunky/api/utils/world/BlockData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AtlasParent/Atlas/src/main/java/cc/funkemunky/api/utils/world/BlockData.java b/AtlasParent/Atlas/src/main/java/cc/funkemunky/api/utils/world/BlockData.java index b870aca9..65fc4e20 100644 --- a/AtlasParent/Atlas/src/main/java/cc/funkemunky/api/utils/world/BlockData.java +++ b/AtlasParent/Atlas/src/main/java/cc/funkemunky/api/utils/world/BlockData.java @@ -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()),