Fix chance stream for objects

This commit is contained in:
Daniel Mills 2021-01-14 08:40:53 -05:00
parent 618da86b44
commit a92e651b43
2 changed files with 1 additions and 2 deletions

View File

@ -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<>();

View File

@ -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);
} }