mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2025-01-07 19:17:50 +01:00
Updated Via* API usage
This commit is contained in:
parent
d69ba03224
commit
0197c6098c
@ -71,9 +71,9 @@ dependencies {
|
|||||||
exclude group: "io.netty", module: "netty-all"
|
exclude group: "io.netty", module: "netty-all"
|
||||||
exclude group: "com.google.guava", module: "guava"
|
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: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") {
|
include("net.raphimc:ViaBedrock:0.0.3-SNAPSHOT") {
|
||||||
exclude group: "io.netty", module: "netty-codec-http"
|
exclude group: "io.netty", module: "netty-codec-http"
|
||||||
exclude group: "io.jsonwebtoken", module: "jjwt-impl"
|
exclude group: "io.jsonwebtoken", module: "jjwt-impl"
|
||||||
|
@ -33,7 +33,7 @@ public class ConfigPatcher extends Config {
|
|||||||
super(configFile);
|
super(configFile);
|
||||||
|
|
||||||
this.patches = patches;
|
this.patches = patches;
|
||||||
this.reloadConfig();
|
this.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -51,7 +51,7 @@ public class ProtocolHack {
|
|||||||
viaVersionPatches.put("chunk-border-fix", true);
|
viaVersionPatches.put("chunk-border-fix", true);
|
||||||
new ConfigPatcher(viaVersionConfig, viaVersionPatches);
|
new ConfigPatcher(viaVersionConfig, viaVersionPatches);
|
||||||
|
|
||||||
final File viaBackwardsConfig = new File(configFolder, "config.yml");
|
final File viaBackwardsConfig = new File(configFolder, "viabackwards.yml");
|
||||||
final Map<String, Object> viaBackwardsPatches = new HashMap<>();
|
final Map<String, Object> viaBackwardsPatches = new HashMap<>();
|
||||||
viaBackwardsPatches.put("fix-1_13-face-player", true);
|
viaBackwardsPatches.put("fix-1_13-face-player", true);
|
||||||
viaBackwardsPatches.put("handle-pings-as-inv-acknowledgements", true);
|
viaBackwardsPatches.put("handle-pings-as-inv-acknowledgements", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user