diff options
| author | Marvelco <helito941@gmail.com> | 2026-03-11 05:04:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-10 22:04:19 -0500 |
| commit | 1036b7368e5625d34666beb24163756c1da6b227 (patch) | |
| tree | 2b85f80a6b6cfcb343a1981ad5d4d83b71145bf3 /Minecraft.World | |
| parent | a195ac7172642196a244260291f966ed7cea1edc (diff) | |
Fixed DLC map loading / saving, missing chunks (#1114)
* fixed all DLC maps
* fixed old saves have overlapping chunks with the new system
Diffstat (limited to 'Minecraft.World')
| -rw-r--r-- | Minecraft.World/RegionFileCache.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Minecraft.World/RegionFileCache.cpp b/Minecraft.World/RegionFileCache.cpp index ab0492b4..bd6405fa 100644 --- a/Minecraft.World/RegionFileCache.cpp +++ b/Minecraft.World/RegionFileCache.cpp @@ -12,6 +12,11 @@ bool RegionFileCache::useSplitSaves(ESavePlatform platform) case SAVE_FILE_PLATFORM_XBONE: case SAVE_FILE_PLATFORM_PS4: return true; + case SAVE_FILE_PLATFORM_WIN64: + { + LevelGenerationOptions* lgo = app.getLevelGenerationOptions(); + return (lgo != nullptr && lgo->isFromDLC()); + } default: return false; }; |
