diff --git a/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java b/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java index eb2e6d3b..0d60e15f 100644 --- a/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java +++ b/src/main/java/me/cortex/voxy/client/core/rendering/building/RenderDataFactory.java @@ -4,6 +4,7 @@ import me.cortex.voxy.client.core.model.IdNotYetComputedException; import me.cortex.voxy.client.core.model.ModelFactory; import me.cortex.voxy.client.core.model.ModelQueries; import me.cortex.voxy.client.core.util.ScanMesher2D; +import me.cortex.voxy.common.Logger; import me.cortex.voxy.common.util.MemoryBuffer; import me.cortex.voxy.common.util.UnsafeUtil; import me.cortex.voxy.common.world.WorldEngine; @@ -1607,6 +1608,10 @@ public class RenderDataFactory { return BuiltSection.emptyWithChildren(section.key, section.getNonEmptyChildren()); } + if (this.quadCount >= 1<<16) { + Logger.warn("Large quad count for section " + WorldEngine.pprintPos(section.key) + " is " + this.quadCount); + } + if (this.minX<0 || this.minY<0 || this.minZ<0 || 32