diff --git a/build.gradle b/build.gradle index 5f25416..8a9c47b 100644 --- a/build.gradle +++ b/build.gradle @@ -71,9 +71,9 @@ dependencies { exclude group: "io.netty", module: "netty-all" exclude group: "com.google.guava", module: "guava" } - include "com.viaversion:viarewind-common:3.0.0" + include "com.viaversion:viarewind-common:3.0.2-SNAPSHOT" include "net.raphimc:ViaLegacy:2.2.21-SNAPSHOT" - include "net.raphimc:ViaAprilFools:2.0.9" + include "net.raphimc:ViaAprilFools:2.0.10-SNAPSHOT" include("net.raphimc:ViaBedrock:0.0.3-SNAPSHOT") { exclude group: "io.netty", module: "netty-codec-http" exclude group: "io.jsonwebtoken", module: "jjwt-impl" diff --git a/src/main/java/net/raphimc/viaproxy/protocolhack/ConfigPatcher.java b/src/main/java/net/raphimc/viaproxy/protocolhack/ConfigPatcher.java index 6bee828..caabe49 100644 --- a/src/main/java/net/raphimc/viaproxy/protocolhack/ConfigPatcher.java +++ b/src/main/java/net/raphimc/viaproxy/protocolhack/ConfigPatcher.java @@ -33,7 +33,7 @@ public class ConfigPatcher extends Config { super(configFile); this.patches = patches; - this.reloadConfig(); + this.reload(); } @Override diff --git a/src/main/java/net/raphimc/viaproxy/protocolhack/ProtocolHack.java b/src/main/java/net/raphimc/viaproxy/protocolhack/ProtocolHack.java index 57e9613..4f1609c 100644 --- a/src/main/java/net/raphimc/viaproxy/protocolhack/ProtocolHack.java +++ b/src/main/java/net/raphimc/viaproxy/protocolhack/ProtocolHack.java @@ -51,7 +51,7 @@ public class ProtocolHack { viaVersionPatches.put("chunk-border-fix", true); new ConfigPatcher(viaVersionConfig, viaVersionPatches); - final File viaBackwardsConfig = new File(configFolder, "config.yml"); + final File viaBackwardsConfig = new File(configFolder, "viabackwards.yml"); final Map viaBackwardsPatches = new HashMap<>(); viaBackwardsPatches.put("fix-1_13-face-player", true); viaBackwardsPatches.put("handle-pings-as-inv-acknowledgements", true);