Skip to content

Commit f18fb9c

Browse files
committed
Update ParticleBuilder docs to match updated method
1 parent 0af7dd8 commit f18fb9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paper-api/src/main/java/com/destroystokyo/paper/ParticleBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public ParticleBuilder color(final @Nullable Color color, final float value) {
465465

466466
/**
467467
* Sets the particle Color.
468-
* Only valid for particles with a data type of {@link Color} or {@link Particle.DustOptions}.
468+
* Only valid for particles with a data type of {@link Color}, {@link Particle.DustOptions} or {@link Particle.Spell}.
469469
*
470470
* @param r red color component
471471
* @param g green color component
@@ -478,7 +478,7 @@ public ParticleBuilder color(final int r, final int g, final int b) {
478478

479479
/**
480480
* Sets the particle Color.
481-
* Only valid for particles with a data type of {@link Color} or {@link Particle.DustOptions}.
481+
* Only valid for particles with a data type of {@link Color}, {@link Particle.DustOptions} or {@link Particle.Spell}.
482482
* <p>
483483
* This method detects if the provided color integer is in RGB or ARGB format.
484484
* If the alpha channel is zero, it treats the color as RGB. Otherwise, it treats it as ARGB.
@@ -497,7 +497,7 @@ public ParticleBuilder color(final int color) {
497497

498498
/**
499499
* Sets the particle Color.
500-
* Only valid for particles with a data type of {@link Color} or {@link Particle.DustOptions}.
500+
* Only valid for particles with a data type of {@link Color}, {@link Particle.DustOptions} or {@link Particle.Spell}.
501501
*
502502
* @param a alpha color component
503503
* @param r red color component

0 commit comments

Comments
 (0)