diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-11-25 00:23:57 +0100 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-11-25 00:23:57 +0100 |
| commit | 707652b59e10371cf4826f9f65d653cac528c6bb (patch) | |
| tree | 65edeffdc0c14703771035222e18d7ff1cfd65b5 /src/main/kotlin/util/accessors/GetRectangle.kt | |
| parent | 6dd14e7225ff60361fe9f87020c424c0eb89a68b (diff) | |
| download | Firmament-707652b59e10371cf4826f9f65d653cac528c6bb.tar.gz Firmament-707652b59e10371cf4826f9f65d653cac528c6bb.tar.bz2 Firmament-707652b59e10371cf4826f9f65d653cac528c6bb.zip | |
feat: add item list
Diffstat (limited to 'src/main/kotlin/util/accessors/GetRectangle.kt')
| -rw-r--r-- | src/main/kotlin/util/accessors/GetRectangle.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/util/accessors/GetRectangle.kt b/src/main/kotlin/util/accessors/GetRectangle.kt index 05ecfa9..109de94 100644 --- a/src/main/kotlin/util/accessors/GetRectangle.kt +++ b/src/main/kotlin/util/accessors/GetRectangle.kt @@ -7,7 +7,7 @@ import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen import moe.nea.firmament.mixins.accessor.AccessorHandledScreen fun AbstractContainerScreen<*>.getProperRectangle(): Rectangle { - this as AccessorHandledScreen + this.castAccessor() return Rectangle( getX_Firmament(), getY_Firmament(), |
