mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
fix: correctly call force when sending particles
This commit is contained in:
@@ -57,7 +57,7 @@ public class DolphinSpit extends LlamaSpit {
|
||||
Vec3 motDouble = mot.scale(2.0);
|
||||
for (int i = 0; i < 5; i++) {
|
||||
((ServerLevel) level()).sendParticlesSource(null, ParticleTypes.BUBBLE,
|
||||
false, true,
|
||||
true, false,
|
||||
getX() + random.nextFloat() / 2 - 0.25F,
|
||||
getY() + random.nextFloat() / 2 - 0.25F,
|
||||
getZ() + random.nextFloat() / 2 - 0.25F,
|
||||
|
||||
@@ -59,7 +59,7 @@ public class PhantomFlames extends LlamaSpit {
|
||||
Vec3 motDouble = mot.scale(2.0);
|
||||
for (int i = 0; i < 5; i++) {
|
||||
((ServerLevel) level()).sendParticlesSource(null, ParticleTypes.FLAME,
|
||||
false, true,
|
||||
true, false,
|
||||
getX() + random.nextFloat() / 2 - 0.25F,
|
||||
getY() + random.nextFloat() / 2 - 0.25F,
|
||||
getZ() + random.nextFloat() / 2 - 0.25F,
|
||||
|
||||
Reference in New Issue
Block a user