Skip to content

Commit

Permalink
Support 1.21.3 (#4537)
Browse files Browse the repository at this point in the history
* Fix Biome ABI break

* Update issue template

* add run-task for 1.21.3
  • Loading branch information
SirYwell authored Nov 18, 2024
1 parent 66bb0a6 commit a11c560
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
multiple: false
options:
- '1.21.3'
- '1.21.1'
- '1.20.6'
- '1.20.4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.HashSet;
import java.util.List;
import java.util.Random;
import java.util.Set;
Expand Down Expand Up @@ -445,7 +445,7 @@ private final class BukkitPlotBiomeProvider extends BiomeProvider {
private static final List<Biome> BIOMES;

static {
Set<Biome> disabledBiomes = EnumSet.of(Biome.CUSTOM);
Set<Biome> disabledBiomes = new HashSet<>(List.of(Biome.CUSTOM));
if (PlotSquared.platform().serverVersion()[1] <= 19) {
final Biome cherryGrove = Registry.BIOME.get(NamespacedKey.minecraft("cherry_grove"));
if (cherryGrove != null) {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ tasks.getByName<Jar>("jar") {
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 {
register("cacheLatestFaweArtifact") {
val lastSuccessfulBuildUrl = uri("https://ci.athion.net/job/FastAsyncWorldEdit/lastSuccessfulBuild/api/json").toURL()
Expand Down

0 comments on commit a11c560

Please sign in to comment.