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

This reverts commit fad5fb9e8c.
This commit is contained in:
md_5 2020-08-18 20:43:39 +10:00
parent 2e178b09c6
commit 9a9c2234a4
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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