mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Copy NBT in legacy dragon fight converter
This commit is contained in:
parent
471f4de9c4
commit
33bec7f20a
1 changed files with 2 additions and 2 deletions
|
@ -18618,7 +18618,7 @@ index 0000000000000000000000000000000000000000..bec25939a78141d989414a5d4f33ce13
|
|||
+}
|
||||
diff --git a/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3459.java b/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3459.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..21cd3a4252ba57f088105b6fdf2ebb659c00afd3
|
||||
index 0000000000000000000000000000000000000000..86509b2fa3c83dc485776d36b7bc2944b1f9a0b5
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3459.java
|
||||
@@ -0,0 +1,34 @@
|
||||
|
@ -18648,7 +18648,7 @@ index 0000000000000000000000000000000000000000..21cd3a4252ba57f088105b6fdf2ebb65
|
|||
+
|
||||
+ 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 a new issue