From 47f5617f8320f99baab64d2532c18eeb43a2b526 Mon Sep 17 00:00:00 2001 From: "Pantera (Mad_Daniel)" <89838384+Pantera07@users.noreply.github.com> Date: Sun, 19 May 2024 18:58:25 +0900 Subject: [PATCH] Fix 1.20.5->1.20.3 unpaired lodestone compass (#3864) --- .../v1_20_3to1_20_5/rewriter/StructuredDataConverter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java b/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java index 08a1bd6e1..3e0c2c3b0 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/v1_20_3to1_20_5/rewriter/StructuredDataConverter.java @@ -228,6 +228,8 @@ public final class StructuredDataConverter { positionTag.putInt("Z", data.position().z()); tag.put("LodestonePos", positionTag); tag.putString("LodestoneDimension", data.position().dimension()); + } else { + tag.putString("LodestoneDimension", "viaversion:viaversion"); } }); register(StructuredDataKey.FIREWORKS, (data, tag) -> { @@ -880,4 +882,4 @@ public final class StructuredDataConverter { void convert(UserConnection connection, T data, CompoundTag tag); } -} \ No newline at end of file +}