Compare commits

...
3 Commits
Author SHA1 Message Date
Andrew Wong 628aa83089 Update cloud to beta.9 2024-07-24 14:45:59 +10:00
Andrew Wong 11da15454d Enforce min version to 1.21 2024-07-24 14:45:59 +10:00
Andrew Wong ff2e4e235d Compile against 1.21, bump version to 2.9.1-SNAPSHOT 2024-07-24 14:45:59 +10:00
5 changed files with 7 additions and 7 deletions

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@ dependencies {
api("com.google.inject.extensions:guice-assistedinject:7.0.0") {
exclude("com.google.guava")
}
implementation("org.incendo:cloud-paper:2.0.0-beta.8") {
implementation("org.incendo:cloud-paper:2.0.0-beta.9") {
exclude("com.google.guava")
}
implementation("org.incendo:cloud-processors-confirmation:1.0.0-beta.3") {
@@ -130,7 +130,7 @@ tasks {
// Configure the Minecraft version for our task.
// This is the only required configuration besides applying the plugin.
// Your plugin's jar (or shadowJar if present) will be used automatically.
minecraftVersion("1.20.6")
minecraftVersion("1.21")
downloadPlugins {
github("EssentialsX", "essentials", "2.20.1", "EssentialsX-2.20.1.jar")
@@ -181,8 +181,8 @@ public final class AreaShop extends JavaPlugin implements AreaShopApi {
// Setup NMS Impl
Version currentServerVersion = VersionUtil.parseMinecraftVersion(Bukkit.getBukkitVersion());
if (currentServerVersion.versionData().isOlderThan(VersionUtil.MC_1_20_6)) {
error("Unsupported minecraft version: " + currentServerVersion + "! Minimum is 1.20.6");
if (currentServerVersion.versionData().isOlderThan(VersionUtil.MC_1_21)) {
error("Unsupported minecraft version: " + currentServerVersion + "! Minimum is 1.21");
shutdownOnError();
return;
}
@@ -5,7 +5,7 @@ import java.util.StringJoiner;
public class VersionUtil {
public static final VersionData MC_1_20_6 = new VersionData(1, 20, 6);
public static final VersionData MC_1_21 = new VersionData(1, 21);
@Nonnull
public static String padTrailingZero(@Nonnull String minecraftVersion) {
+1 -1
View File
@@ -11,7 +11,7 @@ plugins {
}
group = "me.wiefferink"
version = "2.9.0"
version = "2.9.1-SNAPSHOT"
val targetJavaVersion = 21
val encoding = Charsets.UTF_8
+1 -1
View File
@@ -1,6 +1,6 @@
[versions]
# Platforms
minecraft = "1.20.6-R0.1-SNAPSHOT"
minecraft = "1.21-R0.1-SNAPSHOT"
# Minecraft Plugins
worldedit = "7.3.3"