mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 03:48:01 +01:00
Copy NBT in legacy dragon fight converter
This commit is contained in:
parent
14f834f0a5
commit
68b63a9341
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user