mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 07:47:36 +01:00
Copy NBT in legacy dragon fight converter
This commit is contained in:
parent
471f4de9c4
commit
33bec7f20a
@ -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
|
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
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..21cd3a4252ba57f088105b6fdf2ebb659c00afd3
|
index 0000000000000000000000000000000000000000..86509b2fa3c83dc485776d36b7bc2944b1f9a0b5
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3459.java
|
+++ b/src/main/java/ca/spottedleaf/dataconverter/minecraft/versions/V3459.java
|
||||||
@@ -0,0 +1,34 @@
|
@@ -0,0 +1,34 @@
|
||||||
@ -18648,7 +18648,7 @@ index 0000000000000000000000000000000000000000..21cd3a4252ba57f088105b6fdf2ebb65
|
|||||||
+
|
+
|
||||||
+ final MapType<String> endData = dimensionData.getMap("1");
|
+ final MapType<String> endData = dimensionData.getMap("1");
|
||||||
+ if (endData != null) {
|
+ if (endData != null) {
|
||||||
+ data.setMap("DragonFight", endData.getMap("DragonFight", endData.getTypeUtil().createEmptyMap()));
|
+ data.setMap("DragonFight", endData.getMap("DragonFight", endData.getTypeUtil().createEmptyMap()).copy());
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ return null;
|
+ return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user