mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-08 13:08:35 +00:00
TU19: merge Minecraft.World/Level
This commit is contained in:
@@ -45,7 +45,7 @@ McRegionChunkStorage::McRegionChunkStorage(ConsoleSaveFile* saveFile,
|
||||
int count = dis.readInt();
|
||||
|
||||
for (int i = 0; i < count; ++i) {
|
||||
__int64 index = dis.readLong();
|
||||
int64_t index = dis.readLong();
|
||||
CompoundTag* tag = NbtIo::read(&dis);
|
||||
|
||||
ByteArrayOutputStream bos;
|
||||
@@ -160,6 +160,14 @@ LevelChunk* McRegionChunkStorage::load(Level* level, int x, int z) {
|
||||
#endif
|
||||
delete chunkData;
|
||||
}
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
if (levelChunk && app.DebugSettingsOn() &&
|
||||
app.GetGameSettingsDebugMask(ProfileManager.GetPrimaryPad()) &
|
||||
(1L << eDebugSetting_EnableBiomeOverride)) {
|
||||
// 4J Stu - This will force an update of the chunk's biome array
|
||||
levelChunk->reloadBiomes();
|
||||
}
|
||||
#endif
|
||||
return levelChunk;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user