diff --git a/src/main/kotlin/ru/dbotthepony/kstarbound/world/Chunk.kt b/src/main/kotlin/ru/dbotthepony/kstarbound/world/Chunk.kt index 2b76a594..218b13ee 100644 --- a/src/main/kotlin/ru/dbotthepony/kstarbound/world/Chunk.kt +++ b/src/main/kotlin/ru/dbotthepony/kstarbound/world/Chunk.kt @@ -806,7 +806,7 @@ abstract class Chunk, This : Chunk xSpanSize + ySpanSize) { + if (xSpanDepth * ySpanDepth > xSpanSize * ySpanSize) { depthFirst.markSeen() aabb = AABB(depthFirst.mins.toDoubleVector(), depthFirst.maxs.toDoubleVector() + Vector2d.POSITIVE_XY) } else {