diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-16 13:57:05 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-16 13:57:05 +0100 |
commit | 94d1338febfe844faa42179e47ddc5d3432b0843 (patch) | |
tree | be995a2b392b7ac804025f11b61bc9fa666e8a5e /src/main | |
parent | 88e57fbf2dcadc65fa1767ce216dfdb2a4e716c7 (diff) | |
download | craftbukkit-94d1338febfe844faa42179e47ddc5d3432b0843.tar craftbukkit-94d1338febfe844faa42179e47ddc5d3432b0843.tar.gz craftbukkit-94d1338febfe844faa42179e47ddc5d3432b0843.tar.lz craftbukkit-94d1338febfe844faa42179e47ddc5d3432b0843.tar.xz craftbukkit-94d1338febfe844faa42179e47ddc5d3432b0843.zip |
Fix for doors breaking themselves in certain situations
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemDoor.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |