Fancy tree animation done

This commit is contained in:
Esophose 2019-04-01 13:50:19 -06:00
parent 7b2ddb1562
commit 2114d395e0
1 changed files with 1 additions and 3 deletions

View File

@ -75,7 +75,7 @@ public class TreeAnimationFancy extends TreeAnimation {
for (ITreeBlock<FallingBlock> fallingTreeBlock : TreeAnimationFancy.this.fallingTreeBlocks.getAllTreeBlocks()) {
FallingBlock fallingBlock = fallingTreeBlock.getBlock();
fallingBlock.setVelocity(fallingBlock.getVelocity().clone().subtract(new Vector(0, 0.01, 0)));
fallingBlock.setVelocity(fallingBlock.getVelocity().clone().subtract(new Vector(0, 0.05, 0)));
}
this.timer++;
@ -89,8 +89,6 @@ public class TreeAnimationFancy extends TreeAnimation {
}
}
}.runTaskTimer(ultimateTimber, 20L, 1L);
whenFinished.run();
}
}