mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-18 06:41:08 +00:00
Fix chance stream for objects
This commit is contained in:
@@ -110,7 +110,6 @@ public class IrisJigsawStructure extends IrisRegistrant
|
|||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int max = 0;
|
|
||||||
KList<String> pools = new KList<>();
|
KList<String> pools = new KList<>();
|
||||||
KList<String> pieces = new KList<>();
|
KList<String> pieces = new KList<>();
|
||||||
|
|
||||||
|
|||||||
@@ -429,7 +429,7 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(rng.chance(i.getChance()) && rng.chance(getComplex().getObjectChanceStream().get(x, z)))
|
if(rng.chance(i.getChance()) && rng.chance(getComplex().getObjectChanceStream().get(x<<4, z<<4)))
|
||||||
{
|
{
|
||||||
place(rng, x<<4, z<<4, i);
|
place(rng, x<<4, z<<4, i);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user