From c0bfa297bbb0a4ce953e19a5ef6c240c250eafeb Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 27 Jun 2022 17:40:46 +0100 Subject: [PATCH] Ensure use of new generation methods only on 1.19 and above --- .../com/plotsquared/bukkit/generator/BukkitPlotGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java b/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java index 7bb690dba..be48f1f69 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java @@ -90,7 +90,7 @@ public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrap this.populators.add(new LegacyBlockStatePopulator(this.plotGenerator)); } this.full = true; - this.useNewGenerationMethods = PlotSquared.platform().serverVersion()[1] >= 17; + this.useNewGenerationMethods = PlotSquared.platform().serverVersion()[1] >= 19; this.biomeProvider = new BukkitPlotBiomeProvider(); }