SPIGOT-6087: Revert "SPIGOT-6086: Twisting vines growing at top of world crashes server"

This reverts commit af2cee1e50.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2020-08-18 20:43:39 +10:00
parent 97ee937438
commit 48770ca8fe

View file

@ -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