Fix bad old API call in CraftBlockState

This commit is contained in:
md_5 2018-07-20 10:32:17 +10:00
parent ca1af9368b
commit 66b62a63b5

View file

@ -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());
} }