1.19.1-pre6

This commit is contained in:
Nassim Jahnke 2022-07-20 18:36:28 +02:00
parent 55ffe72198
commit 44250cbb99
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
5 changed files with 11 additions and 6 deletions

View File

@ -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) {

View File

@ -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();

View File

@ -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 +
'}';
}
}

View File

@ -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

View File

@ -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