From 9a9c2234a4fba5bfbd91e20cc866eb3ba9224c7b Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 18 Aug 2020 20:43:39 +1000 Subject: [PATCH] SPIGOT-6087: Revert "SPIGOT-6086: Twisting vines growing at top of world crashes server" This reverts commit fad5fb9e8cfc2a2c6883e59203b604f4c0ecf421. --- .../java/org/bukkit/craftbukkit/block/CraftBlockState.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java index 305a51ce47..0f89e77681 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlockState.java @@ -182,6 +182,12 @@ public class CraftBlockState implements BlockState { IBlockData newBlock = this.data; block.setTypeAndData(newBlock, applyPhysics); + world.getHandle().notify( + position, + block.getNMS(), + newBlock, + 3 + ); // Update levers etc if (false && applyPhysics && getData() instanceof Attachable) { // Call does not map to new API