From 128ea2f10b5de593fc9483f3bd741adcd067d597 Mon Sep 17 00:00:00 2001 From: Joseph Burton Date: Sat, 4 May 2024 12:58:06 +0200 Subject: [PATCH] Fix lodestone compass target conversion --- patches/server/Rewrite-dataconverter-system.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/server/Rewrite-dataconverter-system.patch b/patches/server/Rewrite-dataconverter-system.patch index f903f17872..e510440a98 100644 --- a/patches/server/Rewrite-dataconverter-system.patch +++ b/patches/server/Rewrite-dataconverter-system.patch @@ -22841,10 +22841,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + components.remove("minecraft:lodestone_target"); + components.setMap("minecraft:lodestone_tracker", oldTarget); + -+ final Object pos = oldTarget.getMap("pos"); -+ final Object dim = oldTarget.getMap("dimension"); ++ final Object pos = oldTarget.getGeneric("pos"); ++ final Object dim = oldTarget.getGeneric("dimension"); + -+ if (pos == null && dim == null) { ++ if (pos == null || dim == null) { + return null; + } +