Replace spaces to tab

This commit is contained in:
Roman Shishkin 2019-05-16 19:20:01 +03:00
parent 281603dc5a
commit 55711387b8

View file

@ -50,11 +50,11 @@ std::unique_ptr<Section> Section::makeSection(const std::shared_ptr<const NBT::C
return std::unique_ptr<Section>(new PaletteSection(section, std::move(blockStates), palette)); return std::unique_ptr<Section>(new PaletteSection(section, std::move(blockStates), palette));
} }
std::shared_ptr<const NBT::ByteArrayTag> blocks = section->get<NBT::ByteArrayTag>("BlockStates"); std::shared_ptr<const NBT::ByteArrayTag> blocks = section->get<NBT::ByteArrayTag>("BlockStates");
if (blocks) { if (blocks) {
std::shared_ptr<const NBT::ByteArrayTag> data = assertValue(section->get<NBT::ByteArrayTag>("Data")); std::shared_ptr<const NBT::ByteArrayTag> data = assertValue(section->get<NBT::ByteArrayTag>("Data"));
return std::unique_ptr<Section>(new LegacySection(section, std::move(blocks), std::move(data))); return std::unique_ptr<Section>(new LegacySection(section, std::move(blocks), std::move(data)));
} }
return nullptr; return nullptr;