From 94d1338febfe844faa42179e47ddc5d3432b0843 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Fri, 16 Sep 2011 13:57:05 +0100 Subject: Fix for doors breaking themselves in certain situations --- src/main/java/net/minecraft/server/ItemDoor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/net/minecraft/server') diff --git a/src/main/java/net/minecraft/server/ItemDoor.java b/src/main/java/net/minecraft/server/ItemDoor.java index 5e366baf..31940e2e 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); -- cgit v1.2.3