Clean up Chunk

master
Nicole Collings 2020-06-21 12:50:43 -07:00
parent 5063288b30
commit e60f197c7e
1 changed files with 1 additions and 3 deletions

View File

@ -64,9 +64,7 @@ bool DimensionBase::setBlock(glm::ivec3 pos, unsigned int block) {
if (!chunk) return false;
auto &def = defs.blockFromId(block);
chunk->setBlock(Space::Block::relative::toChunk(pos), block);
return true;
return chunk->setBlock(Space::Block::relative::toChunk(pos), block);
}
std::shared_ptr<Region> DimensionBase::getOrCreateRegion(glm::ivec3 pos) {