From d44d89099b8db8149b1ec71e42680cd1a2c1a88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20L=C3=BCdtke?= Date: Wed, 6 Dec 2023 09:50:33 +0100 Subject: [PATCH] Fix LazilyParsedNumber conversion ViaVersion/ViaVersion#3546 (#3550) --- .../protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java index f6bef6d1b..d14a20db0 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/protocol1_20_3to1_20_2/Protocol1_20_3To1_20_2.java @@ -35,6 +35,7 @@ import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; +import com.google.gson.internal.LazilyParsedNumber; import com.viaversion.viaversion.api.Via; import com.viaversion.viaversion.api.connection.UserConnection; import com.viaversion.viaversion.api.data.MappingData; @@ -418,8 +419,10 @@ public final class Protocol1_20_3To1_20_2 extends AbstractProtocol