mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-17 22:32:04 +00:00
Fixes
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.volmit</groupId>
|
<groupId>com.volmit</groupId>
|
||||||
<artifactId>Iris</artifactId>
|
<artifactId>Iris</artifactId>
|
||||||
<version>1.1.8</version>
|
<version>1.1.9</version>
|
||||||
<name>Iris</name>
|
<name>Iris</name>
|
||||||
<properties>
|
<properties>
|
||||||
<skip.copy>false</skip.copy>
|
<skip.copy>false</skip.copy>
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer
|
|||||||
{
|
{
|
||||||
if(tries <= 0)
|
if(tries <= 0)
|
||||||
{
|
{
|
||||||
Iris.error("Parallax In " + x + " " + z + " placed nothing even though there is data there? (Tried 5 times, FAILED!!!)");
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
@@ -109,7 +109,7 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer
|
|||||||
{
|
{
|
||||||
for(int j= z; j < z + data.getDepth(); j++)
|
for(int j= z; j < z + data.getDepth(); j++)
|
||||||
{
|
{
|
||||||
for(int k = min; k <= max; k++)
|
for(int k = 0; k < getEngine().getHeight(); k++)
|
||||||
{
|
{
|
||||||
BlockData d = getParallaxAccess().getBlock(i, k, j);
|
BlockData d = getParallaxAccess().getBlock(i, k, j);
|
||||||
|
|
||||||
@@ -124,22 +124,16 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer
|
|||||||
|
|
||||||
if(!placed)
|
if(!placed)
|
||||||
{
|
{
|
||||||
Iris.warn("Parallax In " + x + " " + z + " had issues placing Retrying: " + tries);
|
J.sleep(150);
|
||||||
|
|
||||||
if(tries < 4)
|
if(tries < 4)
|
||||||
{
|
{
|
||||||
Iris.warn("Parallax Regenerating the entire parallax Layer at " + x + " " + z + " since it's not recovering data...");
|
|
||||||
generateParallaxLayer(x, z, true);
|
generateParallaxLayer(x, z, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
insertParallax(x, z, data, tries-1);
|
insertParallax(x, z, data, tries-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(tries < 5)
|
|
||||||
{
|
|
||||||
Iris.info("Parallax Fixed in " + x + " " + z);
|
|
||||||
}
|
|
||||||
|
|
||||||
getEngine().getMetrics().getParallaxInsert().put(p.getMilliseconds());
|
getEngine().getMetrics().getParallaxInsert().put(p.getMilliseconds());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user