mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Stop duplicate features from hitting each other
This commit is contained in:
parent
82b995f96f
commit
1e62f8c951
@ -603,6 +603,14 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer {
|
||||
f.setInterpolator(objectPlacement.getVacuumInterpolationMethod());
|
||||
f.setStrength(1D);
|
||||
|
||||
for(IrisFeaturePositional j : rw.getFeatures())
|
||||
{
|
||||
if(j.getX() == xx && j.getZ() == zz)
|
||||
{
|
||||
continue placing;
|
||||
}
|
||||
}
|
||||
|
||||
rw.getFeatures().add(new IrisFeaturePositional(xx, zz, f));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user