mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 21:56:45 +01:00
Support 1.21.3 (#4537)
* Fix Biome ABI break * Update issue template * add run-task for 1.21.3
This commit is contained in:
parent
66bb0a6214
commit
a11c560d4e
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
1
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -27,6 +27,7 @@ body:
|
|||||||
description: Which server version are you using? If your server version is not listed, it is not supported. Update to a supported version first.
|
description: Which server version are you using? If your server version is not listed, it is not supported. Update to a supported version first.
|
||||||
multiple: false
|
multiple: false
|
||||||
options:
|
options:
|
||||||
|
- '1.21.3'
|
||||||
- '1.21.1'
|
- '1.21.1'
|
||||||
- '1.20.6'
|
- '1.20.6'
|
||||||
- '1.20.4'
|
- '1.20.4'
|
||||||
|
@ -52,7 +52,7 @@ import org.jetbrains.annotations.Nullable;
|
|||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.EnumSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
@ -445,7 +445,7 @@ public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrap
|
|||||||
private static final List<Biome> BIOMES;
|
private static final List<Biome> BIOMES;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
Set<Biome> disabledBiomes = EnumSet.of(Biome.CUSTOM);
|
Set<Biome> disabledBiomes = new HashSet<>(List.of(Biome.CUSTOM));
|
||||||
if (PlotSquared.platform().serverVersion()[1] <= 19) {
|
if (PlotSquared.platform().serverVersion()[1] <= 19) {
|
||||||
final Biome cherryGrove = Registry.BIOME.get(NamespacedKey.minecraft("cherry_grove"));
|
final Biome cherryGrove = Registry.BIOME.get(NamespacedKey.minecraft("cherry_grove"));
|
||||||
if (cherryGrove != null) {
|
if (cherryGrove != null) {
|
||||||
|
@ -230,7 +230,7 @@ tasks.getByName<Jar>("jar") {
|
|||||||
enabled = false
|
enabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
val supportedVersions = listOf("1.18.2", "1.19.4", "1.20.6", "1.21.1")
|
val supportedVersions = listOf("1.18.2", "1.19.4", "1.20.6", "1.21.1", "1.21.3")
|
||||||
tasks {
|
tasks {
|
||||||
register("cacheLatestFaweArtifact") {
|
register("cacheLatestFaweArtifact") {
|
||||||
val lastSuccessfulBuildUrl = uri("https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/api/json").toURL()
|
val lastSuccessfulBuildUrl = uri("https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/api/json").toURL()
|
||||||
|
Loading…
Reference in New Issue
Block a user