From 3dcfd196a199390162d5cdb7687b6fe4a707391e Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Wed, 15 Jan 2025 03:40:14 +1000 Subject: [PATCH] More logging --- .../voxy/client/core/rendering/hierachical/NodeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/NodeManager.java b/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/NodeManager.java index 94ee5ec9..4080367a 100644 --- a/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/NodeManager.java +++ b/src/main/java/me/cortex/voxy/client/core/rendering/hierachical/NodeManager.java @@ -257,7 +257,7 @@ public class NodeManager { // Logger.error("UNFINISHED OPERATION TODO: FIXME: painful operation, needs to account for both adding and removing, need to do the same with inner node, but also create requests, or cleanup children"); int requestId = this.nodeData.getNodeRequest(nodeId); var request = this.childRequests.get(requestId);// TODO: do not assume request is childRequest (it will probably always be) - if (request.getPosition() != pos) throw new IllegalStateException("Request is not at pos"); + if (request.getPosition() != pos) throw new IllegalStateException("Request is not at pos, got " + WorldEngine.pprintPos(request.getPosition()) + " expected " + WorldEngine.pprintPos(pos)); {//Update the request byte oldMsk = request.getMsk(); byte change = (byte) (oldMsk ^ childExistence);