Commits
1901 1901 | |
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 | |
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 | |
1921 1922 | |