viaversion 3.2.0-1.16.4-rc2

This commit is contained in:
creeper123123321 2020-11-01 20:31:44 -03:00
parent a870aa9e1b
commit 31cd8932f7
2 changed files with 4 additions and 4 deletions

View File

@ -59,8 +59,8 @@ tasks.named<ProcessResources>("processResources") {
dependencies {
// transitive = false because Guava is conflicting on runClient
implementation("us.myles:viaversion:3.1.1") { isTransitive = false }
include("us.myles:viaversion:3.1.1")
implementation("us.myles:viaversion:3.2.0-1.16.4-rc1") { isTransitive = false }
include("us.myles:viaversion:3.2.0-1.16.4-rc1")
include("org.yaml:snakeyaml:1.26")
// Use 1.14.4 release, probably intermediary will make it work on snapshots
@ -178,4 +178,4 @@ publishing {
// uncomment to publish to the local maven
// mavenLocal()
}
}
}

View File

@ -100,7 +100,7 @@ public class ViaFabric implements ModInitializer {
Via.getManager().init();
ProtocolRegistry.registerBaseProtocol(ViaFabricHostnameProtocol.INSTANCE, Range.lessThan(Integer.MIN_VALUE));
ProtocolVersion.register(new ProtocolVersion(-2, "AUTO"));
ProtocolVersion.register(-2, "AUTO");
FabricLoader.getInstance().getEntrypoints("viafabric:via_api_initialized", Runnable.class).forEach(Runnable::run);