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);