diff --git a/src/World/Chunk.cpp b/src/World/Chunk.cpp index 50ac81e..7aea1f3 100644 --- a/src/World/Chunk.cpp +++ b/src/World/Chunk.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2015-2018, Matthias Schiffer + Copyright (c) 2015-2019, Matthias Schiffer All rights reserved. Redistribution and use in source and binary forms, with or without @@ -39,7 +39,7 @@ Chunk::Chunk(const ChunkData *data) { level = assertValue(data->getRoot().get("Level")); std::shared_ptr sectionsTag = level->get("Sections"); - if (!sectionsTag) + if (!sectionsTag || sectionsTag->empty()) return; biomeBytes = level->get("Biomes");