diff --git a/src/World/Section.cpp b/src/World/Section.cpp index d4cc0e2..9d8394d 100644 --- a/src/World/Section.cpp +++ b/src/World/Section.cpp @@ -50,11 +50,11 @@ std::unique_ptr
Section::makeSection(const std::shared_ptr(new PaletteSection(section, std::move(blockStates), palette)); } - std::shared_ptr blocks = section->get("BlockStates"); + std::shared_ptr blocks = section->get("BlockStates"); if (blocks) { - std::shared_ptr data = assertValue(section->get("Data")); + std::shared_ptr data = assertValue(section->get("Data")); - return std::unique_ptr
(new LegacySection(section, std::move(blocks), std::move(data))); + return std::unique_ptr
(new LegacySection(section, std::move(blocks), std::move(data))); } return nullptr;