mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Ensure use of new generation methods only on 1.19 and above
This commit is contained in:
parent
75fd9b2631
commit
c0bfa297bb
@ -90,7 +90,7 @@ public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrap
|
|||||||
this.populators.add(new LegacyBlockStatePopulator(this.plotGenerator));
|
this.populators.add(new LegacyBlockStatePopulator(this.plotGenerator));
|
||||||
}
|
}
|
||||||
this.full = true;
|
this.full = true;
|
||||||
this.useNewGenerationMethods = PlotSquared.platform().serverVersion()[1] >= 17;
|
this.useNewGenerationMethods = PlotSquared.platform().serverVersion()[1] >= 19;
|
||||||
this.biomeProvider = new BukkitPlotBiomeProvider();
|
this.biomeProvider = new BukkitPlotBiomeProvider();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user