mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Parallax retry methods
This commit is contained in:
parent
fb07b280be
commit
dc4f0c1159
@ -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) {
|
||||
|
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user