mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-27 02:59:06 +00:00
Stop duplicate features from hitting each other
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user