mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-22 16:57:40 +01:00
Allow 1.19.0 clients on 1.19.1 servers
This commit is contained in:
parent
b336b8a1fc
commit
b632e4772f
@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "com.viaversion"
|
group = "com.viaversion"
|
||||||
version = "4.4.0"
|
version = "4.4.1-SNAPSHOT"
|
||||||
description = "Allow older clients to join newer server versions."
|
description = "Allow older clients to join newer server versions."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ import java.util.logging.Logger;
|
|||||||
|
|
||||||
public interface ViaBackwardsPlatform {
|
public interface ViaBackwardsPlatform {
|
||||||
|
|
||||||
String MINIMUM_VV_VERSION = "4.4.0";
|
String MINIMUM_VV_VERSION = "4.4.1";
|
||||||
String IMPL_VERSION = "$IMPL_VERSION";
|
String IMPL_VERSION = "$IMPL_VERSION";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -80,7 +80,8 @@ public interface ViaBackwardsPlatform {
|
|||||||
getLogger().info("Loading translations...");
|
getLogger().info("Loading translations...");
|
||||||
TranslatableRewriter.loadTranslatables();
|
TranslatableRewriter.loadTranslatables();
|
||||||
|
|
||||||
ProtocolManager protocolManager = Via.getManager().getProtocolManager();
|
final ProtocolManager protocolManager = Via.getManager().getProtocolManager();
|
||||||
|
protocolManager.setMaxPathDeltaIncrease(1); // Since we skip 1.19
|
||||||
protocolManager.registerProtocol(new Protocol1_9_4To1_10(), ProtocolVersion.v1_9_3, ProtocolVersion.v1_10);
|
protocolManager.registerProtocol(new Protocol1_9_4To1_10(), ProtocolVersion.v1_9_3, ProtocolVersion.v1_10);
|
||||||
|
|
||||||
protocolManager.registerProtocol(new Protocol1_10To1_11(), ProtocolVersion.v1_10, ProtocolVersion.v1_11);
|
protocolManager.registerProtocol(new Protocol1_10To1_11(), ProtocolVersion.v1_10, ProtocolVersion.v1_11);
|
||||||
|
@ -3,7 +3,7 @@ metadata.format.version = "1.1"
|
|||||||
[versions]
|
[versions]
|
||||||
|
|
||||||
# ViaVersion
|
# ViaVersion
|
||||||
viaver = "4.4.0-1.19.1-rc3-SNAPSHOT"
|
viaver = "4.4.1-SNAPSHOT"
|
||||||
|
|
||||||
# Common provided
|
# Common provided
|
||||||
netty = "4.0.20.Final"
|
netty = "4.0.20.Final"
|
||||||
|
Loading…
Reference in New Issue
Block a user