From 3395b38dfd91644ec33db21f74510d5f9c42c951 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 1 Dec 2013 17:29:03 +1100 Subject: [PATCH] [Bukkit Bug] Fix doors being opened by redstone. --- ...6-Fix-doors-being-opened-by-redstone.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 CraftBukkit-Patches/0066-Fix-doors-being-opened-by-redstone.patch diff --git a/CraftBukkit-Patches/0066-Fix-doors-being-opened-by-redstone.patch b/CraftBukkit-Patches/0066-Fix-doors-being-opened-by-redstone.patch new file mode 100644 index 0000000000..c0d23eaa1b --- /dev/null +++ b/CraftBukkit-Patches/0066-Fix-doors-being-opened-by-redstone.patch @@ -0,0 +1,24 @@ +From 0f5da2b72da04942f5d6971bdab7b4d41ebfd3f8 Mon Sep 17 00:00:00 2001 +From: md_5 +Date: Sun, 1 Dec 2013 17:28:40 +1100 +Subject: [PATCH] Fix doors being opened by redstone. + + +diff --git a/src/main/java/net/minecraft/server/BlockDoor.java b/src/main/java/net/minecraft/server/BlockDoor.java +index 046ffb8..d9be84c 100644 +--- a/src/main/java/net/minecraft/server/BlockDoor.java ++++ b/src/main/java/net/minecraft/server/BlockDoor.java +@@ -166,8 +166,8 @@ public class BlockDoor extends Block { + if (!world.isStatic) { + this.b(world, i, j, k, l, 0); + } +- // CraftBukkit start +- } else if (l > 0 && Block.e(l).isPowerSource()) { ++ } else { ++ // CraftBukkit start + org.bukkit.World bworld = world.getWorld(); + org.bukkit.block.Block bukkitBlock = bworld.getBlockAt(i, j, k); + org.bukkit.block.Block blockTop = bworld.getBlockAt(i, j + 1, k); +-- +1.8.3.2 +