Copy NBT in legacy dragon fight converter

This commit is contained in:
Joe 2023-09-06 18:33:31 -07:00
parent 14f834f0a5
commit 68b63a9341

View File

@ -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;