SPIGOT-8008: Fix force option in World#spawnParticle

This commit is contained in:
Doc 2025-02-09 23:11:30 -03:00
parent c175d4f612
commit 5b97b8b5a1
No known key found for this signature in database
GPG Key ID: 569482E14CAEBE86

View File

@ -1908,7 +1908,8 @@ public class CraftWorld extends CraftRegionAccessor implements World {
getHandle().sendParticlesSource( getHandle().sendParticlesSource(
null, // Sender null, // Sender
CraftParticle.createParticleParam(particle, data), // Particle CraftParticle.createParticleParam(particle, data), // Particle
false, force, force, // force
false, // override limiter for render - TODO: Expose this?
x, y, z, // Position x, y, z, // Position
count, // Count count, // Count
offsetX, offsetY, offsetZ, // Random offset offsetX, offsetY, offsetZ, // Random offset