diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-08-10 13:55:12 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-08-10 13:55:12 +0200 |
| commit | 0fb0560bfc94f92ce8e289b00473effc1a5e06f3 (patch) | |
| tree | 781556d857f7ebc4f3c4f003215c8aa3d94b5e08 /src/main/kotlin/util/render/DrawContextExt.kt | |
| parent | 3b03ff1cc6f1cf92810b67ad8074515d8ccce196 (diff) | |
| download | Firmament-0fb0560bfc94f92ce8e289b00473effc1a5e06f3.tar.gz Firmament-0fb0560bfc94f92ce8e289b00473effc1a5e06f3.tar.bz2 Firmament-0fb0560bfc94f92ce8e289b00473effc1a5e06f3.zip | |
fix: Storage overlay crashing
Diffstat (limited to 'src/main/kotlin/util/render/DrawContextExt.kt')
| -rw-r--r-- | src/main/kotlin/util/render/DrawContextExt.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
