mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-29 11:42:55 +01:00
Fix bad old API call in CraftBlockState
This commit is contained in:
parent
ca1af9368b
commit
66b62a63b5
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ public class CraftBlockState implements BlockState {
|
||||||
);
|
);
|
||||||
|
|
||||||
// Update levers etc
|
// Update levers etc
|
||||||
if (applyPhysics && getData() instanceof Attachable) {
|
if (false && applyPhysics && getData() instanceof Attachable) { // Call does not map to new API
|
||||||
world.getHandle().applyPhysics(pos.shift(CraftBlock.blockFaceToNotch(((Attachable) getData()).getAttachedFace())), newBlock.getBlock());
|
world.getHandle().applyPhysics(pos.shift(CraftBlock.blockFaceToNotch(((Attachable) getData()).getAttachedFace())), newBlock.getBlock());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue