summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/net/minecraft/server/BlockDoor.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/BlockDoor.java b/src/main/java/net/minecraft/server/BlockDoor.java
index 1b81e466..e6b1599b 100644
--- a/src/main/java/net/minecraft/server/BlockDoor.java
+++ b/src/main/java/net/minecraft/server/BlockDoor.java
@@ -157,7 +157,7 @@ public class BlockDoor extends Block {
if (world.getTypeId(i, j + 1, k) != this.id) {
world.setTypeId(i, j, k, 0);
- flag = true;
+ //flag = true; // CraftBukkit
}
if (!world.e(i, j - 1, k)) {
@@ -169,11 +169,9 @@ public class BlockDoor extends Block {
}
if (flag) {
- /* CraftBukkit start - Move the drop to on break instead of on physics
if (!world.isStatic) {
this.b(world, i, j, k, i1, 0);
}
- // */
} else if (l > 0 && Block.byId[l].isPowerSource()) {
org.bukkit.World bworld = world.getWorld();
org.bukkit.block.Block block = bworld.getBlockAt(i, j, k);