3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-03 08:41:05 +02:00
Dieser Commit ist enthalten in:
Nassim Jahnke 2022-07-20 18:36:28 +02:00
Ursprung 55ffe72198
Commit 44250cbb99
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
5 geänderte Dateien mit 11 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -81,7 +81,7 @@ public class ProtocolVersion {
public static final ProtocolVersion v1_18 = register(757, "1.18/1.18.1", new VersionRange("1.18", 0, 1));
public static final ProtocolVersion v1_18_2 = register(758, "1.18.2");
public static final ProtocolVersion v1_19 = register(759, "1.19");
public static final ProtocolVersion v1_19_1 = register(760, 98, "1.19.1");
public static final ProtocolVersion v1_19_1 = register(760, 99, "1.19.1");
public static final ProtocolVersion unknown = register(-1, "UNKNOWN");
public static ProtocolVersion register(int version, String name) {

Datei anzeigen

@ -142,10 +142,7 @@ public class ViaManagerImpl implements ViaManager {
platform.getLogger().warning("This version of Minecraft is extremely outdated and support for it has reached its end of life. "
+ "You will still be able to run Via on this Minecraft version, but we are unlikely to provide any further fixes or help with problems specific to legacy Minecraft versions. "
+ "Please consider updating to give your players a better experience and to avoid issues that have long been fixed.");
} else if (protocolVersion.highestSupportedVersion() == ProtocolVersion.v1_19.getVersion()) {
platform.getLogger().warning("Due to technical limitations, ViaVersion does not support 1.19.1+ clients on 1.19.0 servers. Please update your server to a newer version.");
}
}
checkJavaVersion();

Datei anzeigen

@ -54,4 +54,12 @@ public class ProtocolPathEntryImpl implements ProtocolPathEntry {
result = 31 * result + protocol.hashCode();
return result;
}
@Override
public String toString() {
return "ProtocolPathEntryImpl{" +
"outputProtocolVersion=" + outputProtocolVersion +
", protocol=" + protocol +
'}';
}
}

Datei anzeigen

@ -293,7 +293,7 @@ public final class EntityPackets extends EntityRewriter<Protocol1_19To1_18_2> {
}
// No public profile signature
wrapper.write(Type.BOOLEAN, false);
wrapper.write(Type.OPTIONAL_PROFILE_KEY, null);
} else if (action == 1 || action == 2) { // Update gamemode/update latency
wrapper.passthrough(Type.VAR_INT);
} else if (action == 3) { // Update display name

Datei anzeigen

@ -1,5 +1,5 @@
# Project properties - we put these here so they can be modified without causing a recompile of the build scripts
projectVersion=4.4.0-1.19.1-pre5-SNAPSHOT
projectVersion=4.4.0-1.19.1-pre6-SNAPSHOT
# Gradle properties
org.gradle.daemon=true