mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-12-22 16:38:04 +01:00
Updated Via*
This commit is contained in:
parent
eb488f156e
commit
51a5f758ba
@ -54,9 +54,9 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
include "com.viaversion:viaversion-common:4.10.0-24w03b-SNAPSHOT"
|
||||
include "com.viaversion:viabackwards-common:4.10.0-24w03a-SNAPSHOT"
|
||||
include "com.viaversion:viarewind-common:3.0.6-20240114.162712-15"
|
||||
include "com.viaversion:viaversion-common:4.10.0-24w04a-SNAPSHOT"
|
||||
include "com.viaversion:viabackwards-common:4.10.0-24w04a-SNAPSHOT"
|
||||
include "com.viaversion:viarewind-common:3.0.6-SNAPSHOT"
|
||||
include "net.raphimc:ViaLegacy:2.2.22-SNAPSHOT"
|
||||
include "net.raphimc:ViaAprilFools:2.0.11-SNAPSHOT"
|
||||
include("net.raphimc:ViaBedrock:0.0.4-SNAPSHOT") {
|
||||
|
@ -28,7 +28,7 @@ import java.util.Map;
|
||||
@Mixin(Config.class)
|
||||
public abstract class MixinConfig {
|
||||
|
||||
@Redirect(method = "loadConfig(Ljava/io/File;Ljava/net/URL;)Ljava/util/Map;", at = @At(value = "INVOKE", target = "Ljava/util/Map;containsKey(Ljava/lang/Object;)Z"))
|
||||
@Redirect(method = "loadConfig(Ljava/io/File;Lcom/viaversion/viaversion/util/InputStreamSupplier;)Ljava/util/Map;", at = @At(value = "INVOKE", target = "Ljava/util/Map;containsKey(Ljava/lang/Object;)Z"))
|
||||
private boolean allowConfigPatching(final Map<String, Object> map, final Object key) {
|
||||
if (((Object) this) instanceof ConfigPatcher) {
|
||||
return true;
|
||||
|
@ -52,7 +52,7 @@ public abstract class MixinProtocolVersion {
|
||||
remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null));
|
||||
remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null));
|
||||
remaps.put("1.20.3/1.20.4", new Pair<>("1.20.3-1.20.4", null));
|
||||
remaps.put("1.20.5", new Pair<>("24w03b", null));
|
||||
remaps.put("1.20.5", new Pair<>("24w04a", null));
|
||||
}
|
||||
|
||||
@Redirect(method = "<clinit>", at = @At(value = "INVOKE", target = "Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;register(ILjava/lang/String;)Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;"))
|
||||
|
Loading…
Reference in New Issue
Block a user