aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-07-27 18:34:12 +0200
committerLinnea Gräf <nea@nea.moe>2025-07-27 18:34:12 +0200
commit5247d98d3b768b34880640214f702c026c8c883b (patch)
tree1ff3d32ac0fcd8fcf4b52b30c0ec0d5ead2ee89a /src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java
parent120cab808b9a6f8c8c935360b470a7a214f0b7bc (diff)
downloadFirmament-5247d98d3b768b34880640214f702c026c8c883b.tar.gz
Firmament-5247d98d3b768b34880640214f702c026c8c883b.tar.bz2
Firmament-5247d98d3b768b34880640214f702c026c8c883b.zip
fix: slots in storage overlay being messed up
Diffstat (limited to 'src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java')
-rw-r--r--src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java b/src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java
index 6e1090a..4d51239 100644
--- a/src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java
+++ b/src/main/java/moe/nea/firmament/mixins/customgui/PatchHandledScreen.java
@@ -134,7 +134,7 @@ public class PatchHandledScreen<T extends ScreenHandler> extends Screen implemen
}
}
- @Inject(method = "render", at = @At("HEAD"))
+ @Inject(method = "renderBackground", at = @At("HEAD"))
public void moveSlots(DrawContext context, int mouseX, int mouseY, float delta, CallbackInfo ci) {
if (override != null) {
for (Slot slot : handler.slots) {