mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 05:36:45 +01:00
Address comments
This commit is contained in:
parent
026e3fc17e
commit
f369ccb30e
@ -449,7 +449,7 @@ public class HybridUtils {
|
|||||||
iter.remove();
|
iter.remove();
|
||||||
boolean regenedRoad = regenerateRoad(area, chunk, extend, queue);
|
boolean regenedRoad = regenerateRoad(area, chunk, extend, queue);
|
||||||
if (!regenedRoad) {
|
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();
|
queue.enqueue();
|
||||||
@ -491,7 +491,7 @@ public class HybridUtils {
|
|||||||
iterator.remove();
|
iterator.remove();
|
||||||
boolean regenedRoads = regenerateRoad(area, chunk, extend, queue);
|
boolean regenedRoads = regenerateRoad(area, chunk, extend, queue);
|
||||||
if (!regenedRoads) {
|
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);
|
queue.setCompleteTask(task);
|
||||||
@ -504,7 +504,7 @@ public class HybridUtils {
|
|||||||
iterator.remove();
|
iterator.remove();
|
||||||
boolean regenedRoads = regenerateRoad(area, chunk, extend, queue);
|
boolean regenedRoads = regenerateRoad(area, chunk, extend, queue);
|
||||||
if (!regenedRoads) {
|
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);
|
queue.setCompleteTask(task);
|
||||||
@ -616,6 +616,7 @@ public class HybridUtils {
|
|||||||
* @param extend How far to extend setting air above the road
|
* @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
|
* @param queueCoordinator {@link QueueCoordinator} to use to set the blocks. Null if one should be created and enqueued
|
||||||
* @return if successful
|
* @return if successful
|
||||||
|
* @since TODO
|
||||||
*/
|
*/
|
||||||
public boolean regenerateRoad(
|
public boolean regenerateRoad(
|
||||||
final PlotArea area,
|
final PlotArea area,
|
||||||
|
Loading…
Reference in New Issue
Block a user