Release 3.4.7: Hotfix first game start

This commit is contained in:
FlorianMichael 2024-09-18 18:27:43 +02:00
parent 0b403f9919
commit 906a800fe9
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
3 changed files with 10 additions and 7 deletions

View File

@ -66,15 +66,15 @@ dependencies {
modCompileOnly "com.terraformersmc:modmenu:11.0.2"
jij "com.viaversion:viaversion-common:5.0.4-SNAPSHOT"
jij "com.viaversion:viabackwards-common:5.0.4-SNAPSHOT"
jij "net.raphimc:viaaprilfools-common:3.0.2-SNAPSHOT"
jij "net.raphimc:ViaLegacy:3.0.3-SNAPSHOT"
jij ("net.raphimc:ViaBedrock:0.0.12-SNAPSHOT") {
jij "com.viaversion:viaversion-common:5.0.4-20240915.195414-38"
jij "com.viaversion:viabackwards-common:5.0.4-20240915.201013-22"
jij "net.raphimc:viaaprilfools-common:3.0.2-20240916.221413-11"
jij "net.raphimc:ViaLegacy:3.0.3-20240916.221613-21"
jij ("net.raphimc:ViaBedrock:0.0.12-20240917.230727-1") {
exclude group: "io.jsonwebtoken"
exclude group: "com.mojang", module: "brigadier"
}
jij ("net.raphimc:ViaLoader:3.0.3-SNAPSHOT") {
jij ("net.raphimc:ViaLoader:3.0.3-20240918.152216-18") {
exclude group: "com.google.guava", module: "guava"
exclude group: "org.slf4j", module: "slf4j-api"
}

View File

@ -5,7 +5,7 @@ org.gradle.parallel=true
# Project Details
maven_group=de.florianmichael
maven_name=ViaFabricPlus
maven_version=3.4.7-SNAPSHOT
maven_version=3.4.7
maven_description=Fabric mod to connect to EVERY Minecraft server version (Release, Beta, Alpha, Classic, Snapshots, Bedrock) with QoL fixes to the gameplay
# Minecraft/Fabric

View File

@ -75,6 +75,9 @@ public class SettingsSave extends AbstractSave {
@Override
public void postInit() {
if (selectedProtocolVersion == null) {
return;
}
// Set target version AFTER protocol loading, so we can reach all versions
if (GeneralSettings.global().saveSelectedProtocolVersion.getValue()) {
final ProtocolVersion protocolVersion = protocolVersionByName(selectedProtocolVersion);