From 0fb0560bfc94f92ce8e289b00473effc1a5e06f3 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 10 Aug 2025 13:55:12 +0200 Subject: fix: Storage overlay crashing --- src/main/kotlin/util/render/DrawContextExt.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/kotlin/util/render/DrawContextExt.kt b/src/main/kotlin/util/render/DrawContextExt.kt index 59c4ec9..e63bf5f 100644 --- a/src/main/kotlin/util/render/DrawContextExt.kt +++ b/src/main/kotlin/util/render/DrawContextExt.kt @@ -15,7 +15,7 @@ import net.minecraft.util.Identifier import moe.nea.firmament.util.MC fun DrawContext.isUntranslatedGuiDrawContext(): Boolean { - return matrices.m00 == 1F && matrices.m11 == 1f && matrices.m01 == -1F && matrices.m10 == -1F && matrices.m20 == -1F && matrices.m21 == -1F + return matrices.m00 == 1F && matrices.m11 == 1f && matrices.m01 == 0F && matrices.m10 == 0F && matrices.m20 == 0F && matrices.m21 == 0F } @Deprecated("Use the other drawGuiTexture") -- cgit