Rosewood-Development / PlayerParticles

The PlayerParticles plugin made by Esophose
Other
173 stars 49 forks source link

Console WARN Spam: Icosphere #94

Closed ZEROOblivious closed 1 year ago

ZEROOblivious commented 2 years ago

Greetings,

Server Version: Paper-283 MC Version: 1.18.2

We have a WARN/Error spam console when we do an Icosphere when you do these steps:

  1. Get into the GUI
  2. Create new Particle
  3. Click Dust Color Transition
  4. Click Icosphere
  5. Any color will cause the WARN Spam (We've tried all colors including Rainbow)
  6. Below is the WARN Message that blows up Console.

image

[10.04 06:54:39] [Server] [WARN] [PlayerParticles] Plugin PlayerParticles v8.0 generated an exception while executing task 3488 [10.04 06:54:39] [Server] java.lang.IllegalArgumentExceptionColor parameter outside of expected range: Red Green Blue [10.04 06:54:39] [Server] at java.awt.Color.testColorValueRange(Color.java:312) ~[?:?] [10.04 06:54:39] [Server] at java.awt.Color.<init>(Color.java:397) ~[?:?] [10.04 06:54:39] [Server] at java.awt.Color.<init>(Color.java:371) ~[?:?] [10.04 06:54:39] [Server] at dev.esophose.playerparticles.styles.ParticleStyleIcosphere.getParticles(ParticleStyleIcosphere.java:56) ~[PlayerParticles-8.0.jar:?] [10.04 06:54:39] [Server] at dev.esophose.playerparticles.manager.ParticleManager.getParticlesWithPlayer(ParticleManager.java:278) ~[PlayerParticles-8.0.jar:?] [10.04 06:54:39] [Server] at dev.esophose.playerparticles.manager.ParticleManager.displayParticles(ParticleManager.java:263) ~[PlayerParticles-8.0.jar:?] [10.04 06:54:39] [Server] at dev.esophose.playerparticles.manager.ParticleManager.run(ParticleManager.java:196) ~[PlayerParticles-8.0.jar:?] [10.04 06:54:39] [Server] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.2.jar:git-Paper-283] [10.04 06:54:39] [Server] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.18.2.jar:git-Paper-283] [10.04 06:54:39] [Server] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.18.2.jar:git-Paper-283] [10.04 06:54:39] [Server] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] [10.04 06:54:39] [Server] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] [10.04 06:54:39] [Server] at java.lang.Thread.run(Thread.java:833) ~[?:?]

Esophose commented 1 year ago

Issue is caused by using either random or random data with icosphere and dust_color_transition, normal colors seem to work fine. Either way, issue resolved in 956626158d635efd42ccaa77481312d2c53771d1. Sorry for that taking so long.