Improved world generation logs on collision (untested)

This commit is contained in:
Unknown 2018-12-14 09:34:36 +01:00 committed by unknown
parent 32cc0368ed
commit 70dddf493a

View file

@ -347,8 +347,9 @@ public class WorldGenStructure {
jumpBlock.deploy(world, transformation);
} else {
if (WarpDriveConfig.LOGGING_WORLD_GENERATION && WarpDrive.isDev) {
WarpDrive.logger.info(String.format("Deployment collision detected %s",
Commons.format(world, targetX + jumpBlock.x, targetY + jumpBlock.y, targetZ + jumpBlock.z)));
WarpDrive.logger.info(String.format("Deployment collision detected %s with %s during world generation, skipping this block...",
Commons.format(world, targetX + jumpBlock.x, targetY + jumpBlock.y, targetZ + jumpBlock.z),
blockAtTarget.getRegistryName()));
}
}
}