mirror of
https://github.com/songoda/UltimateTimber.git
synced 2024-11-29 05:16:29 +01:00
Update TreeFallAnimation.java
Makes the animation in the middle of block.
This commit is contained in:
parent
624211fe0b
commit
17cb5b6b76
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user