mirror of
https://github.com/ViaVersion/ViaLoader.git
synced 2024-11-25 12:15:52 +01:00
Updated Via*
This commit is contained in:
parent
b9a34bd674
commit
c0eb0dcaaf
@ -24,8 +24,8 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "com.viaversion:viaversion:4.6.0-1.19.4-pre2-SNAPSHOT"
|
compileOnly "com.viaversion:viaversion:4.6.0-1.19.4-pre3-SNAPSHOT"
|
||||||
compileOnly("com.viaversion:viabackwards-common:4.6.0-1.19.4-pre1-SNAPSHOT") {
|
compileOnly("com.viaversion:viabackwards-common:4.6.0-1.19.4-pre3-SNAPSHOT") {
|
||||||
exclude group: "com.viaversion", module: "viaversion"
|
exclude group: "com.viaversion", module: "viaversion"
|
||||||
}
|
}
|
||||||
compileOnly "com.viaversion:viarewind-core:2.0.3-SNAPSHOT"
|
compileOnly "com.viaversion:viarewind-core:2.0.3-SNAPSHOT"
|
||||||
|
@ -19,7 +19,6 @@ package net.raphimc.viaprotocolhack;
|
|||||||
|
|
||||||
import com.viaversion.viaversion.ViaManagerImpl;
|
import com.viaversion.viaversion.ViaManagerImpl;
|
||||||
import com.viaversion.viaversion.api.Via;
|
import com.viaversion.viaversion.api.Via;
|
||||||
import com.viaversion.viaversion.api.data.MappingDataLoader;
|
|
||||||
import com.viaversion.viaversion.api.platform.ViaInjector;
|
import com.viaversion.viaversion.api.platform.ViaInjector;
|
||||||
import com.viaversion.viaversion.api.platform.ViaPlatform;
|
import com.viaversion.viaversion.api.platform.ViaPlatform;
|
||||||
import com.viaversion.viaversion.api.platform.ViaPlatformLoader;
|
import com.viaversion.viaversion.api.platform.ViaPlatformLoader;
|
||||||
@ -55,7 +54,6 @@ public class ViaProtocolHack {
|
|||||||
.injector(injector)
|
.injector(injector)
|
||||||
.commandHandler(commandHandler)
|
.commandHandler(commandHandler)
|
||||||
.build());
|
.build());
|
||||||
MappingDataLoader.enableMappingsCache();
|
|
||||||
|
|
||||||
if (platformSuppliers != null) {
|
if (platformSuppliers != null) {
|
||||||
Via.getManager().addEnableListener(() -> {
|
Via.getManager().addEnableListener(() -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user