fix 2 more migration issues
This commit is contained in:
parent
cfe3ad1b0f
commit
02b5ec4c78
2 changed files with 10 additions and 9 deletions
|
@ -3067,7 +3067,7 @@ index 0000000000000000000000000000000000000000..75f612b04f872d0d014fdc40b07c1511
|
|||
+}
|
||||
diff --git a/src/main/java/io/papermc/paper/configuration/transformation/world/LegacyPaperWorldConfig.java b/src/main/java/io/papermc/paper/configuration/transformation/world/LegacyPaperWorldConfig.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..749498b349a0504270e2ba84fd8f30bd749833a7
|
||||
index 0000000000000000000000000000000000000000..4861470fee09c757874c02a2abbdf56e25404c2f
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/io/papermc/paper/configuration/transformation/world/LegacyPaperWorldConfig.java
|
||||
@@ -0,0 +1,321 @@
|
||||
|
@ -3204,7 +3204,7 @@ index 0000000000000000000000000000000000000000..749498b349a0504270e2ba84fd8f30bd
|
|||
+ value.node("loot-tables").set(prevValue);
|
||||
+ return path.with(path.size() - 1, "treasure-maps-find-already-discovered").array();
|
||||
+ })
|
||||
+ .addAction(path("alt-item-despawn-rate"), (path, value) -> {
|
||||
+ .addAction(path("alt-item-despawn-rate", "items"), (path, value) -> {
|
||||
+ if (value.isMap()) {
|
||||
+ Map<String, Integer> rebuild = new HashMap<>();
|
||||
+ value.childrenMap().forEach((key, node) -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue