Hotfix some exceptions

This commit is contained in:
2025-03-03 09:56:12 +01:00
parent b4eab65757
commit 5f73395b63
3 changed files with 32 additions and 34 deletions
@@ -25,7 +25,7 @@ public interface ParticleElement {
}
default Particle.DustOptions withColor(int r, int g, int b) {
return new Particle.DustOptions(Color.fromRGB(r, g, b), randomSize());
return new Particle.DustOptions(Color.fromRGB(r, g, b), RANDOM.nextFloat() / 2);
}
default void display(Location location, Player root, boolean onlySelf, boolean onlyOther, Consumer<Player> consumer) {