mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Move wind trail particles behind the player's view
This commit is contained in:
parent
7937604c41
commit
d716d2e00b
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ public class WindParticle extends AbstractBillboardParticle {
|
|||
trail.update(new Vec3d(x + cos, y + sin, z - cos));
|
||||
} else {
|
||||
if (target != null && target.isAlive()) {
|
||||
trail.update(target.getPos().add(offset).add(cos, sin, -cos));
|
||||
|
||||
trail.update(target.getPos().add(target.getRotationVecClient().multiply(-7)).add(offset).add(cos, sin, -cos));
|
||||
|
||||
if (attachmentTicks > 0 && --attachmentTicks <= 0) {
|
||||
target = null;
|
||||
|
|
Loading…
Reference in a new issue