From f369ccb30e581611ebcbbe71dd56d7543de117a1 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Thu, 27 Jan 2022 13:21:58 +0000 Subject: [PATCH] Address comments --- .../java/com/plotsquared/core/generator/HybridUtils.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java b/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java index f47b20c8f..74e86afaa 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java +++ b/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java @@ -449,7 +449,7 @@ public class HybridUtils { iter.remove(); boolean regenedRoad = regenerateRoad(area, chunk, extend, queue); if (!regenedRoad) { - LOGGER.info(String.format("Failed to regenerate roads in chunk %s", chunk)); + LOGGER.info("Failed to regenerate roads in chunk {}", chunk); } } queue.enqueue(); @@ -491,7 +491,7 @@ public class HybridUtils { iterator.remove(); boolean regenedRoads = regenerateRoad(area, chunk, extend, queue); if (!regenedRoads) { - LOGGER.info(String.format("Failed to regenerate road in chunk %s", chunk)); + LOGGER.info("Failed to regenerate the road in chunk {}", chunk); } } queue.setCompleteTask(task); @@ -504,7 +504,7 @@ public class HybridUtils { iterator.remove(); boolean regenedRoads = regenerateRoad(area, chunk, extend, queue); if (!regenedRoads) { - LOGGER.info(String.format("Failed to regenerate road in chunk %s", chunk)); + LOGGER.info("Failed to regenerate road in chunk {}", chunk); } } queue.setCompleteTask(task); @@ -616,6 +616,7 @@ public class HybridUtils { * @param extend How far to extend setting air above the road * @param queueCoordinator {@link QueueCoordinator} to use to set the blocks. Null if one should be created and enqueued * @return if successful + * @since TODO */ public boolean regenerateRoad( final PlotArea area,