Skip to content

Commit 18b5692

Browse files
committed
Fixed #3403
1 parent 71ad3fa commit 18b5692

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

patches/minecraft/net/minecraft/world/level/chunk/storage/ChunkSerializer.java.patch

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,6 @@
1919

2020
UpgradeData upgradedata = p_188234_.m_128425_("UpgradeData", 10) ? new UpgradeData(p_188234_.m_128469_("UpgradeData"), p_188231_) : UpgradeData.f_63320_;
2121
boolean flag = p_188234_.m_128471_("isLightOn");
22-
@@ -108,9 +_,9 @@
23-
palettedcontainer = new PalettedContainer<>(Block.f_49791_, Blocks.f_50016_.m_49966_(), PalettedContainer.Strategy.f_188137_);
24-
}
25-
26-
- PalettedContainerRO<Holder<Biome>> palettedcontainerro;
27-
+ PalettedContainer<Holder<Biome>> palettedcontainerro; // CraftBukkit - read/write
28-
if (compoundtag.m_128425_("biomes", 10)) {
29-
- palettedcontainerro = codec.parse(NbtOps.f_128958_, compoundtag.m_128469_("biomes")).promotePartial((p_188274_) -> {
30-
+ palettedcontainerro = (PalettedContainer<Holder<Biome>>) codec.parse(NbtOps.f_128958_, compoundtag.m_128469_("biomes")).promotePartial((p_188274_) -> {
31-
m_188239_(p_188233_, k, p_188274_);
32-
}).getOrThrow(false, f_63449_::error);
33-
} else {
3422
@@ -159,6 +_,7 @@
3523
return BuiltInRegistries.f_257020_.m_6612_(ResourceLocation.m_135820_(p_258990_));
3624
}, p_188233_);

0 commit comments

Comments
 (0)