13
0
geforkt von Mirrors/Paper

Fix bad old API call in CraftBlockState

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2018-07-20 10:32:17 +10:00
Ursprung e5c63f2b0c
Commit 8ca7918c56

Datei anzeigen

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