ParticleBuilder is not thread-safe!

This commit is contained in:
Electroblob77
2021-06-18 13:49:45 +01:00
parent 81a85883d2
commit 6f7b225ce8
@@ -34,7 +34,9 @@ import java.util.Random;
* <code>ParticleBuilder.create(Type.SPARKLE).pos(x, y, z).vel(vx, vy, vz).clr(r, g, b).spawn(world);</code>
* <p></p>
* It also goes without saying that <b>this class should only ever be used client-side</b>. Attempting to spawn particles
* on the server side will not work and will print a warning to the console.
* on the server side will not work and will print a warning to the console. {@code ParticleBuilder} is not threadsafe
* and attempting to call it from multiple threads at once will very likely cause an {@link IllegalStateException}.
*
* @author Electroblob
* @since Wizardry 4.2
*/