diff --git a/Minecraft.World/TheOuterEndLevelRandomLevelSource.cpp b/Minecraft.World/TheOuterEndLevelRandomLevelSource.cpp index a6ab2638..ddb07650 100644 --- a/Minecraft.World/TheOuterEndLevelRandomLevelSource.cpp +++ b/Minecraft.World/TheOuterEndLevelRandomLevelSource.cpp @@ -11,7 +11,7 @@ TheOuterEndLevelRandomLevelSource::TheOuterEndLevelRandomLevelSource(Level *level, int64_t seed) { - m_XZSize = END_LEVEL_MIN_WIDTH; + m_XZSize = level->getLevelData()->getXZSize(); this->level = level; @@ -412,4 +412,4 @@ TilePos *TheOuterEndLevelRandomLevelSource::findNearestMapFeature(Level *level, void TheOuterEndLevelRandomLevelSource::recreateLogicStructuresForChunk(int chunkX, int chunkZ) { -} \ No newline at end of file +}