From 69b96eee96ca33c3d1e30cf95d1c1b0d63c4bf59 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Mon, 30 Jun 2025 19:23:07 +1000 Subject: [PATCH] L --- .../client/core/rendering/hierachical/AsyncNodeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/AsyncNodeManager.java b/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/AsyncNodeManager.java index daaaa499..3bc9eb23 100644 --- a/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/AsyncNodeManager.java +++ b/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/AsyncNodeManager.java @@ -246,7 +246,7 @@ public class AsyncNodeManager { //Limit uploading as well as by geometry capacity being available // must have 50 mb of free geometry space to upload - for (int limit = 0; limit < 200 && ((this.geometryCapacity-this.geometryManager.getGeometryUsedBytes())>50_000_000); limit++) { + for (int limit = 0; limit < 200 && ((this.geometryCapacity-this.geometryManager.getGeometryUsedBytes())>50_000_000L); limit++) { var job = this.geometryUpdateQueue.poll(); if (job == null) break;