mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 08:44:50 +00:00
fix datapack particle rarity
This commit is contained in:
1 parent
3c9bcc9bb0
commit
e101155a4c
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user