summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockTrapdoor.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockTrapdoor.patch')
-rw-r--r--nms-patches/BlockTrapdoor.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockTrapdoor.patch b/nms-patches/BlockTrapdoor.patch
index 31007095..1eb2c40d 100644
--- a/nms-patches/BlockTrapdoor.patch
+++ b/nms-patches/BlockTrapdoor.patch
@@ -11,7 +11,7 @@
@@ -91,6 +92,19 @@
boolean flag = world.isBlockIndirectlyPowered(blockposition);
- if (flag || block.getBlockData().m()) {
+ if (flag || block.getBlockData().n()) {
+ // CraftBukkit start
+ org.bukkit.World bworld = world.getWorld();
+ org.bukkit.block.Block bblock = bworld.getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ());