From 94d1338febfe844faa42179e47ddc5d3432b0843 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Fri, 16 Sep 2011 13:57:05 +0100 Subject: [PATCH] Fix for doors breaking themselves in certain situations --- src/main/java/net/minecraft/server/ItemDoor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/ItemDoor.java b/src/main/java/net/minecraft/server/ItemDoor.java index 5e366baf72..31940e2e5e 100644 --- a/src/main/java/net/minecraft/server/ItemDoor.java +++ b/src/main/java/net/minecraft/server/ItemDoor.java @@ -99,7 +99,7 @@ public class ItemDoor extends Item { world.setTypeIdAndData(i, j, k, block.id, l); world.suppressPhysics = false; - world.applyPhysics(i, j, k, Block.REDSTONE_WIRE.id); + world.applyPhysics(i, j, k, block.id); if (entityhuman != null) { BlockPlaceEvent event = CraftEventFactory.callBlockPlaceEvent(world, entityhuman, blockState, clickedX, clickedY, clickedZ, block);