From 120cab808b9a6f8c8c935360b470a7a214f0b7bc Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 27 Jul 2025 15:24:58 +0200 Subject: fix: incorrect identity matrix check in storage overlay --- src/main/kotlin/util/render/DrawContextExt.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/util/render') diff --git a/src/main/kotlin/util/render/DrawContextExt.kt b/src/main/kotlin/util/render/DrawContextExt.kt index d11ba6a..898281f 100644 --- a/src/main/kotlin/util/render/DrawContextExt.kt +++ b/src/main/kotlin/util/render/DrawContextExt.kt @@ -11,7 +11,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 == 0F && matrices.m10 == 0F && 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