From cc68899cecb65c73777bc42829b97feb7bd13d09 Mon Sep 17 00:00:00 2001 From: itsRevela Date: Tue, 28 Apr 2026 15:33:14 -0500 Subject: [PATCH] fix: iron door no longer blocks held-item use on right-click --- Minecraft.World/DoorTile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Minecraft.World/DoorTile.cpp b/Minecraft.World/DoorTile.cpp index 8b70e6d9..67dc9195 100644 --- a/Minecraft.World/DoorTile.cpp +++ b/Minecraft.World/DoorTile.cpp @@ -194,7 +194,8 @@ bool DoorTile::use(Level *level, int x, int y, int z, shared_ptr player, return false; } - if (material == Material::metal) return true; + // Match vanilla Java: iron doors don't consume right-click so held items still fire. + if (material == Material::metal) return false; int compositeData = getCompositeData(level, x, y, z); int lowerData = compositeData & C_LOWER_DATA_MASK;