Drop old packs in setResourcePack
This commit is contained in:
parent
c2b70338fc
commit
03541446b2
35 changed files with 98 additions and 97 deletions
|
@ -24896,18 +24896,10 @@ index e534dac9d69147174f6b9e8ce7f27fde536351ce..270fd52ec733c89bd91155c8222936fa
|
|||
}
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/level/storage/LevelStorageSource.java b/src/main/java/net/minecraft/world/level/storage/LevelStorageSource.java
|
||||
index 836bcea1c6a9de29b4a248220331f3a8c697204d..423405e34fc052e6c068d616c1aaedd8ab72ba94 100644
|
||||
index 836bcea1c6a9de29b4a248220331f3a8c697204d..399da9d43aefbb95897df4697860d5bce5317152 100644
|
||||
--- a/src/main/java/net/minecraft/world/level/storage/LevelStorageSource.java
|
||||
+++ b/src/main/java/net/minecraft/world/level/storage/LevelStorageSource.java
|
||||
@@ -5,6 +5,7 @@ import com.mojang.datafixers.DataFixer;
|
||||
import com.mojang.logging.LogUtils;
|
||||
import com.mojang.serialization.DataResult;
|
||||
import com.mojang.serialization.Dynamic;
|
||||
+import com.mojang.serialization.DynamicOps;
|
||||
import com.mojang.serialization.Lifecycle;
|
||||
import java.io.BufferedOutputStream;
|
||||
import java.io.BufferedReader;
|
||||
@@ -290,10 +291,10 @@ public class LevelStorageSource {
|
||||
@@ -290,10 +290,10 @@ public class LevelStorageSource {
|
||||
static Dynamic<?> readLevelDataTagFixed(Path path, DataFixer dataFixer) throws IOException {
|
||||
CompoundTag nbttagcompound = LevelStorageSource.readLevelDataTagRaw(path);
|
||||
CompoundTag nbttagcompound1 = nbttagcompound.getCompound("Data");
|
||||
|
@ -24920,7 +24912,7 @@ index 836bcea1c6a9de29b4a248220331f3a8c697204d..423405e34fc052e6c068d616c1aaedd8
|
|||
|
||||
dynamic = dynamic.set("Player", dynamic2);
|
||||
Dynamic<?> dynamic3 = dynamic.get("WorldGenSettings").orElseEmptyMap();
|
||||
@@ -303,6 +304,12 @@ public class LevelStorageSource {
|
||||
@@ -303,6 +303,12 @@ public class LevelStorageSource {
|
||||
return dynamic;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue