From 68b63a9341e0470dce356b3bfcc98d9b33c89836 Mon Sep 17 00:00:00 2001
From: Joe <burtonjae@hotmail.co.uk>
Date: Wed, 6 Sep 2023 18:33:31 -0700
Subject: [PATCH] Copy NBT in legacy dragon fight converter

---
 patches/server/Rewrite-dataconverter-system.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/server/Rewrite-dataconverter-system.patch b/patches/server/Rewrite-dataconverter-system.patch
index 69af79ef34..f179614fe1 100644
--- a/patches/server/Rewrite-dataconverter-system.patch
+++ b/patches/server/Rewrite-dataconverter-system.patch
@@ -18648,7 +18648,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +
 +                final MapType<String> endData = dimensionData.getMap("1");
 +                if (endData != null) {
-+                    data.setMap("DragonFight", endData.getMap("DragonFight", endData.getTypeUtil().createEmptyMap()));
++                    data.setMap("DragonFight", endData.getMap("DragonFight", endData.getTypeUtil().createEmptyMap()).copy());
 +                }
 +
 +                return null;