差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
user:ecolight:lwc_fence [2015/12/05 15:56] – 作成 ecolight | user:ecolight:lwc_fence [2021/05/08 16:13] (現在) – ↷ user:user:ecolight:lwc_fence から user:ecolight:lwc_fence へページを移動しました。 ecolight | ||
---|---|---|---|
行 8: | 行 8: | ||
if (!WallMatcher.PROTECTABLES_TRAP_DOORS.contains(block.getType()) && (block.getData() & 0x8) == 0x8) { | if (!WallMatcher.PROTECTABLES_TRAP_DOORS.contains(block.getType()) && (block.getData() & 0x8) == 0x8) { | ||
// Inspect the bottom half instead, fool! | // Inspect the bottom half instead, fool! | ||
- | if (block.getType() == Material.WOODEN_DOOR) { | + | if ((block.getType() == Material.WOODEN_DOOR) || (block.getType() == Material.IRON_DOOR_BLOCK)) { |
block = block.getRelative(BlockFace.DOWN); | block = block.getRelative(BlockFace.DOWN); | ||
} | } | ||
} | } | ||
</ | </ |