Fixed bugs added stuff

This commit is contained in:
2022-06-05 05:27:46 +02:00
parent 6403f024cd
commit b1bdfbcb99
4 changed files with 4 additions and 4 deletions
@@ -97,6 +97,7 @@ public class ParticleConfig extends AbstractConfig {
cs.getString("particle");
ConfigurationSection color = cs.getConfigurationSection("color");
ParticleBuilder particle = new ParticleBuilder(Particle.valueOf(cs.getString("particle")));
particle.extra(cs.getDouble("extra"));
if (color != null) {
particle = particle.color(color.getInt("r"), color.getInt("g"), color.getInt("b"));
}