From 72794a588bfb009ac91910bf673bb9354d432b0e Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Fri, 25 Oct 2024 19:00:42 +0200 Subject: [PATCH] Updated ViaBackwards API usage --- build.gradle | 8 ++++---- .../vialoader/impl/platform/ViaBackwardsPlatformImpl.java | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index b04e530..3df4fdb 100644 --- a/build.gradle +++ b/build.gradle @@ -50,11 +50,11 @@ repositories { } dependencies { - compileOnly "com.viaversion:viaversion-common:5.0.5" - compileOnly "com.viaversion:viabackwards-common:5.0.4" + compileOnly "com.viaversion:viaversion-common:5.1.0" + compileOnly "com.viaversion:viabackwards-common:5.1.0" compileOnly "com.viaversion:viarewind-common:4.0.3" - compileOnly "net.raphimc:ViaLegacy:3.0.3" - compileOnly "net.raphimc:viaaprilfools-common:3.0.2" + compileOnly "net.raphimc:ViaLegacy:3.0.4" + compileOnly "net.raphimc:viaaprilfools-common:3.0.3" compileOnly "net.raphimc:ViaBedrock:0.0.12-SNAPSHOT" compileOnly "org.cloudburstmc.netty:netty-transport-raknet:1.0.0.CR3-SNAPSHOT" diff --git a/src/main/java/net/raphimc/vialoader/impl/platform/ViaBackwardsPlatformImpl.java b/src/main/java/net/raphimc/vialoader/impl/platform/ViaBackwardsPlatformImpl.java index b42a0ea..de749e0 100644 --- a/src/main/java/net/raphimc/vialoader/impl/platform/ViaBackwardsPlatformImpl.java +++ b/src/main/java/net/raphimc/vialoader/impl/platform/ViaBackwardsPlatformImpl.java @@ -31,6 +31,7 @@ public class ViaBackwardsPlatformImpl implements ViaBackwardsPlatform { public ViaBackwardsPlatformImpl() { this.init(new File(this.getDataFolder(), "viabackwards.yml")); + this.enable(); } @Override