Skip to content

Commit

Permalink
Fix regression with openable iron trapdoors
Browse files Browse the repository at this point in the history
  • Loading branch information
pop4959 committed Dec 7, 2024
1 parent 3d758c4 commit 1b4b2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bukkit/src/main/java/org/popcraft/bolt/util/Doors.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public static boolean areMatchingDoors(final Block door, final Block hinged) {

public static boolean isDoorOpenable(final Block block, final boolean openIron) {
final Material material = block.getType();
if (openIron && Material.IRON_DOOR.equals(material)) {
if (openIron && (Material.IRON_DOOR.equals(material) || Material.IRON_TRAPDOOR.equals(material))) {
return true;
}
if (MOB_INTERACTABLE_DOORS != null) {
Expand Down

0 comments on commit 1b4b2d8

Please sign in to comment.