mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Fixed sphere particles not respawning at long distances
This commit is contained in:
parent
6507169c7e
commit
0614d73072
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public class SpellShield extends AbstractSpell.RangedAreaSpell {
|
||||||
});
|
});
|
||||||
|
|
||||||
particleEffect.filter(IAttachableParticle::isStillAlive).orElseGet(() -> {
|
particleEffect.filter(IAttachableParticle::isStillAlive).orElseGet(() -> {
|
||||||
particleEffect = Particles.instance().spawnParticle(UParticles.SPHERE, false, source.getOriginVector(), 0, 0, 0, radius, getTint(), 30);
|
particleEffect = Particles.instance().spawnParticle(UParticles.SPHERE, true, source.getOriginVector(), 0, 0, 0, radius, getTint(), 30);
|
||||||
particleEffect.ifPresent(p -> p.attachTo(source));
|
particleEffect.ifPresent(p -> p.attachTo(source));
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue