mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-26 18:21:35 +01:00
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:
parent
97ee937438
commit
48770ca8fe
@ -182,6 +182,12 @@ public class CraftBlockState implements BlockState {
|
|||||||
|
|
||||||
IBlockData newBlock = this.data;
|
IBlockData newBlock = this.data;
|
||||||
block.setTypeAndData(newBlock, applyPhysics);
|
block.setTypeAndData(newBlock, applyPhysics);
|
||||||
|
world.getHandle().notify(
|
||||||
|
position,
|
||||||
|
block.getNMS(),
|
||||||
|
newBlock,
|
||||||
|
3
|
||||||
|
);
|
||||||
|
|
||||||
// Update levers etc
|
// Update levers etc
|
||||||
if (false && applyPhysics && getData() instanceof Attachable) { // Call does not map to new API
|
if (false && applyPhysics && getData() instanceof Attachable) { // Call does not map to new API
|
||||||
|
Loading…
Reference in New Issue
Block a user