Updated Via*

This commit is contained in:
RaphiMC 2023-03-04 19:16:46 +01:00
parent b9a34bd674
commit c0eb0dcaaf
2 changed files with 2 additions and 4 deletions

View File

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

View File

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