mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix chance stream for objects
This commit is contained in:
parent
618da86b44
commit
a92e651b43
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user