Update TreeFallAnimation.java

Makes the animation in the middle of block.
This commit is contained in:
Brian 2018-12-14 16:38:09 +02:00
parent 624211fe0b
commit 17cb5b6b76

View File

@ -128,7 +128,7 @@ public class TreeFallAnimation implements Listener {
for (Block block : blocks) {
FallingBlock fallingBlock = block.getWorld().spawnFallingBlock(block.getLocation(), block.getBlockData());
FallingBlock fallingBlock = block.getWorld().spawnFallingBlock(block.getLocation().clone().add(0.5,0,0.5), block.getBlockData());
fallingBlock.setDropItem(false);
registerFallingBlock(fallingBlock);