Shifted debug to warnings or errors

This commit is contained in:
tastybento 2023-01-29 22:23:16 -08:00
parent e8033dc18f
commit 999a2cbb89
2 changed files with 2 additions and 4 deletions

View File

@ -45,12 +45,10 @@ public abstract class AbstractCopyBiomeProvider extends BiomeProvider {
if (c != null) {
int xx = Math.floorMod(x, 16);
int zz = Math.floorMod(z, 16);
//int yy = Math.max(Math.min(y * 4, worldInfo.getMaxHeight()), worldInfo.getMinHeight()); // To handle bug in Spigot
Biome biome = c.chunkBiomes().getOrDefault(new Vector(xx, y, zz), defaultBiome);
BentoBox.getInstance().logDebug(biome);
return biome;
} else {
BentoBox.getInstance().logDebug("Snapshot at " + chunkX + " " + chunkZ + " is not stored");
BentoBox.getInstance().logWarning("Snapshot at " + chunkX + " " + chunkZ + " is not stored");
return defaultBiome;
}
}

View File

@ -198,7 +198,7 @@ public class BoxedChunkGenerator extends AbstractBoxedChunkGenerator {
if (chunk == null) {
// This should never be needed because islands should abut each other
//cd.setRegion(0, minY, 0, 16, 0, 16, Material.WATER);
BentoBox.getInstance().logDebug("No chunks found for " + xx + " " + zz);
BentoBox.getInstance().logError("No chunks found for " + xx + " " + zz);
return;
}
// Copy the chunk