Commits

Doc authored 5b97b8b5a1d
SPIGOT-8008: Fix force option in World#spawnParticle
No tags

src/main/java/org/bukkit/craftbukkit/CraftWorld.java

Modified
1901 1901 @Override
1902 1902 public <T> void spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data, boolean force) {
1903 1903 spawnParticle(particle, location.getX(), location.getY(), location.getZ(), count, offsetX, offsetY, offsetZ, extra, data, force);
1904 1904 }
1905 1905
1906 1906 @Override
1907 1907 public <T> void spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data, boolean force) {
1908 1908 getHandle().sendParticlesSource(
1909 1909 null, // Sender
1910 1910 CraftParticle.createParticleParam(particle, data), // Particle
1911 - false, force,
1911 + force, // force
1912 + false, // override limiter for render - TODO: Expose this?
1912 1913 x, y, z, // Position
1913 1914 count, // Count
1914 1915 offsetX, offsetY, offsetZ, // Random offset
1915 1916 extra // Speed?
1916 1917 );
1917 1918
1918 1919 }
1919 1920
1920 1921 @Deprecated
1921 1922 @Override

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut