Parallax retry methods

This commit is contained in:
Daniel Mills 2021-01-03 10:25:39 -05:00
parent fb07b280be
commit dc4f0c1159
2 changed files with 14 additions and 1 deletions

View File

@ -132,6 +132,8 @@ public class EngineCompositeGenerator extends ChunkGenerator implements IrisAcce
private synchronized IrisDimension getDimension(World world) {
String hint = dimensionHint;
hint = Iris.linkMultiverseCore.getWorldNameType(world.getName(), hint);
IrisDimension dim = null;
if (hint == null) {

View File

@ -92,7 +92,18 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer
if(!meta.isParallaxGenerated())
{
Iris.warn("Chunk " + (x >> 4) + " " + (z >> 4) + " has no parallax data!");
return;
generateParallaxLayer(x, z, true);
meta = getParallaxAccess().getMetaR(x>>4, z>>4);
if(meta.isParallaxGenerated())
{
Iris.info("Fixed!");
}
else
{
Iris.error("Not Fixed!");
}
}
if(!meta.isObjects()) {