mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Updated Via API usage
This commit is contained in:
parent
4d39a0441a
commit
3cc5cb019a
2 changed files with 5 additions and 5 deletions
|
@ -53,8 +53,8 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
include "com.viaversion:viaversion-common:4.9.2"
|
||||
include "com.viaversion:viabackwards-common:4.9.2-20231208.084014-2"
|
||||
include "com.viaversion:viaversion-common:4.9.3-SNAPSHOT"
|
||||
include "com.viaversion:viabackwards-common:4.9.2-SNAPSHOT"
|
||||
include "com.viaversion:viarewind-common:3.0.5"
|
||||
include("net.raphimc:ViaLegacy:2.2.22-SNAPSHOT") {
|
||||
exclude group: "net.lenni0451.mcstructs", module: "text"
|
||||
|
|
|
@ -20,7 +20,7 @@ package net.raphimc.viaproxy.injection.mixins;
|
|||
import com.viaversion.viaversion.libs.gson.JsonElement;
|
||||
import com.viaversion.viaversion.libs.gson.JsonNull;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.Tag;
|
||||
import com.viaversion.viaversion.protocols.protocol1_20_3to1_20_2.Protocol1_20_3To1_20_2;
|
||||
import com.viaversion.viaversion.protocols.protocol1_20_3to1_20_2.util.ComponentConverter;
|
||||
import net.lenni0451.mcstructs.text.ATextComponent;
|
||||
import net.lenni0451.mcstructs.text.serializer.TextComponentCodec;
|
||||
import net.lenni0451.mcstructs.text.serializer.TextComponentSerializer;
|
||||
|
@ -29,8 +29,8 @@ import net.raphimc.vialegacy.api.util.converter.NbtConverter;
|
|||
import org.spongepowered.asm.mixin.Mixin;
|
||||
import org.spongepowered.asm.mixin.Overwrite;
|
||||
|
||||
@Mixin(Protocol1_20_3To1_20_2.class)
|
||||
public abstract class MixinProtocol1_20_3To1_20_2 {
|
||||
@Mixin(ComponentConverter.class)
|
||||
public abstract class MixinComponentConverter {
|
||||
|
||||
@Overwrite
|
||||
public static JsonElement tagComponentToJson(final Tag tag) {
|
Loading…
Reference in a new issue