9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2026-01-04 15:41:30 +00:00

fix datapack particle rarity

This commit is contained in:
Julian Krings
2024-09-01 18:51:23 +02:00
parent 3c9bcc9bb0
commit e101155a4c

View File

@@ -104,7 +104,7 @@ public class IrisBiomeCustom {
JSONObject po = new JSONObject();
po.put("type", ambientParticle.getParticle().name().toLowerCase());
particle.put("options", po);
particle.put("probability", ambientParticle.getRarity());
particle.put("probability", 1f/ambientParticle.getRarity());
effects.put("particle", particle);
}