From 99ee9a5ad29fdf9d470df2b275a443f72c626b4c Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Mon, 8 Sep 2025 07:28:43 +1000 Subject: [PATCH] stupid idiot --- src/main/java/me/cortex/voxy/client/iris/IrisShaderPatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/cortex/voxy/client/iris/IrisShaderPatch.java b/src/main/java/me/cortex/voxy/client/iris/IrisShaderPatch.java index e0275daf..cec2d9a3 100644 --- a/src/main/java/me/cortex/voxy/client/iris/IrisShaderPatch.java +++ b/src/main/java/me/cortex/voxy/client/iris/IrisShaderPatch.java @@ -293,7 +293,7 @@ public class IrisShaderPatch { voxyPatchData = builder.toString(); } patchData = GSON.fromJson(voxyPatchData, PatchGson.class); - if (patchData != null) { + if (patchData == null) { throw new IllegalStateException("voxy json patch not valid: " + voxyPatchData); }