mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-18 06:41:08 +00:00
fix datapack particle rarity
This commit is contained in:
@@ -104,7 +104,7 @@ public class IrisBiomeCustom {
|
|||||||
JSONObject po = new JSONObject();
|
JSONObject po = new JSONObject();
|
||||||
po.put("type", ambientParticle.getParticle().name().toLowerCase());
|
po.put("type", ambientParticle.getParticle().name().toLowerCase());
|
||||||
particle.put("options", po);
|
particle.put("options", po);
|
||||||
particle.put("probability", ambientParticle.getRarity());
|
particle.put("probability", 1f/ambientParticle.getRarity());
|
||||||
effects.put("particle", particle);
|
effects.put("particle", particle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user