mirror of
https://github.com/BentoBoxWorld/Boxed.git
synced 2024-12-11 14:37:52 +01:00
Shifted debug to warnings or errors
This commit is contained in:
parent
e8033dc18f
commit
999a2cbb89
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user