From 2fcd375912a9351addae2ddb2c3f5556f4a906ea Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 23 Nov 2019 17:50:38 +0000 Subject: [PATCH] potentially fix regen --- .../worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_14_R4.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_14_R4.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_14_R4.java index 396fdf825..b3a67536a 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_14_R4.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/impl/FAWE_Spigot_v1_14_R4.java @@ -404,12 +404,6 @@ public final class FAWE_Spigot_v1_14_R4 extends CachedBukkitAdapter implements I // Pre-gen all the chunks // We need to also pull one more chunk in every direction - CuboidRegion expandedPreGen = new CuboidRegion(region.getMinimumPoint().subtract(16, 0, 16), region.getMaximumPoint().add(16, 0, 16)); - for (BlockVector2 chunk : expandedPreGen.getChunks()) { - freshWorld.getChunkAt(chunk.getBlockX(), chunk.getBlockZ()); - } - - // TODO optimize SingleThreadQueueExtent extent = new SingleThreadQueueExtent(); extent.init(null, (x, z) -> new BukkitGetBlocks_1_14(freshWorld, x, z), null); for (BlockVector3 vec : region) {