diff --git a/bukkit/build.gradle b/bukkit/build.gradle index f69f260d..f44e6981 100644 --- a/bukkit/build.gradle +++ b/bukkit/build.gradle @@ -1,7 +1,7 @@ dependencies { implementation project(path: ':common') - implementation 'net.william278.uniform:uniform-bukkit:1.2.2' + implementation 'net.william278.uniform:uniform-bukkit:1.2.3' implementation 'net.william278:mpdbdataconverter:1.0.1' implementation 'net.william278:hsldataconverter:1.0' implementation 'net.william278:mapdataapi:2.0' @@ -13,7 +13,7 @@ dependencies { compileOnly "org.spigotmc:spigot-api:${bukkit_spigot_api}" compileOnly 'com.github.retrooper.packetevents:spigot:2.3.0' - compileOnly 'com.comphenix.protocol:ProtocolLib:5.1.0' + compileOnly 'com.comphenix.protocol:ProtocolLib:5.3.0' compileOnly 'org.projectlombok:lombok:1.18.36' compileOnly 'commons-io:commons-io:2.18.0' compileOnly 'org.json:json:20240303' diff --git a/common/build.gradle b/common/build.gradle index 2d298d1c..ce810291 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -16,7 +16,7 @@ dependencies { exclude module: 'slf4j-api' } - compileOnly 'net.william278.uniform:uniform-common:1.2.2' + compileOnly 'net.william278.uniform:uniform-common:1.2.3' compileOnly 'com.mojang:brigadier:1.1.8' compileOnly 'org.projectlombok:lombok:1.18.36' compileOnly 'org.jetbrains:annotations:26.0.1' diff --git a/fabric/build.gradle b/fabric/build.gradle index 6325e053..0944e873 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -18,7 +18,7 @@ dependencies { modImplementation include("net.kyori:adventure-platform-fabric:${fabric_adventure_platform_version}") modImplementation include("me.lucko:fabric-permissions-api:${fabric_permissions_api_version}") modImplementation include("eu.pb4:sgui:${fabric_sgui_version}") - modImplementation include('net.william278.uniform:uniform-fabric:1.2.1+1.21') + modImplementation include("net.william278.uniform:uniform-fabric:1.2.3+${minecraft_version}") modCompileOnly "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}" implementation include('org.apache.commons:commons-pool2:2.12.0') @@ -30,9 +30,9 @@ dependencies { compileOnly 'org.jetbrains:annotations:26.0.1' compileOnly 'net.william278:DesertWell:2.0.4' - compileOnly 'org.projectlombok:lombok:1.18.34' + compileOnly 'org.projectlombok:lombok:1.18.36' - annotationProcessor 'org.projectlombok:lombok:1.18.34' + annotationProcessor 'org.projectlombok:lombok:1.18.36' shadow project(path: ":common") } diff --git a/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java b/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java index 91787c50..63b79f6e 100644 --- a/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java +++ b/fabric/src/main/java/net/william278/husksync/FabricHuskSync.java @@ -359,7 +359,6 @@ public Version getMinecraftVersion() { return Version.fromString(minecraftServer.getVersion()); } - @NotNull public int getDataVersion(@NotNull Version mcVersion) { return switch (mcVersion.toStringWithoutMetadata()) { case "1.16", "1.16.1", "1.16.2", "1.16.3", "1.16.4", "1.16.5" -> VERSION1_16_5; @@ -368,12 +367,7 @@ public int getDataVersion(@NotNull Version mcVersion) { case "1.19", "1.19.1", "1.19.2" -> VERSION1_19_2; case "1.19.4" -> VERSION1_19_4; case "1.20", "1.20.1" -> VERSION1_20_1; - case "1.20.2" -> VERSION1_20_2; - case "1.20.4" -> VERSION1_20_4; - case "1.20.5", "1.20.6" -> VERSION1_20_5; - case "1.21", "1.21.1" -> VERSION1_21_1; - case "1.21.2", "1.21.3" -> VERSION1_21_3; - default -> VERSION1_21_3; // Current supported ver + default -> VERSION1_20_1; // Current supported ver }; } diff --git a/gradle.properties b/gradle.properties index 6ff0ddcb..fc121e54 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,10 +12,10 @@ plugin_description=A modern, cross-server player data synchronization system # Drivers jedis_version=5.2.0 mysql_driver_version=9.1.0 -mariadb_driver_version=3.5.0 -postgres_driver_version=42.7.3 -mongodb_driver_version=5.1.2 -snappy_version=1.1.10.6 +mariadb_driver_version=3.5.1 +postgres_driver_version=42.7.4 +mongodb_driver_version=5.2.1 +snappy_version=1.1.10.7 # Spigot/Paper build settings bukkit_spigot_api=1.20.1-R0.1-SNAPSHOT