summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-09-16 13:57:05 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-09-16 13:57:05 +0100
commit94d1338febfe844faa42179e47ddc5d3432b0843 (patch)
treebe995a2b392b7ac804025f11b61bc9fa666e8a5e /src/main
parent88e57fbf2dcadc65fa1767ce216dfdb2a4e716c7 (diff)
downloadcraftbukkit-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.java2
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);