aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/mixins
diff options
context:
space:
mode:
authorBrady <thatgravyboat@gmail.com>2024-04-25 07:29:05 -0230
committerGitHub <noreply@github.com>2024-04-25 11:59:05 +0200
commit44b86cc6b1ecde84632f9cf4f06f5c35aa4d8b6d (patch)
tree668d43de7b7329eebd83fdafeba5389d15de0d0d /src/main/java/at/hannibal2/skyhanni/mixins
parent0eed4b0d2121a206d4eba81aa4a1888125acbe3e (diff)
downloadskyhanni-44b86cc6b1ecde84632f9cf4f06f5c35aa4d8b6d.tar.gz
skyhanni-44b86cc6b1ecde84632f9cf4f06f5c35aa4d8b6d.tar.bz2
skyhanni-44b86cc6b1ecde84632f9cf4f06f5c35aa4d8b6d.zip
Backend: Improves performance of item backgrounds and borders (#1497)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Co-authored-by: Cal <cwolfson58@gmail.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/mixins')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt
index 38568987f..7d776e99b 100644
--- a/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt
+++ b/src/main/java/at/hannibal2/skyhanni/mixins/hooks/RenderItemHook.kt
@@ -1,7 +1,7 @@
package at.hannibal2.skyhanni.mixins.hooks
import at.hannibal2.skyhanni.events.GuiRenderItemEvent
-import at.hannibal2.skyhanni.events.RenderRealOverlayEvent
+import at.hannibal2.skyhanni.events.RenderGuiItemOverlayEvent
import at.hannibal2.skyhanni.test.SkyHanniDebugsAndTests
import net.minecraft.client.gui.FontRenderer
import net.minecraft.item.ItemStack
@@ -25,5 +25,5 @@ fun renderItemOverlayPost(
fun renderItemReturn(stack: ItemStack, x: Int, y: Int) {
if (!SkyHanniDebugsAndTests.globalRender) return
- RenderRealOverlayEvent(stack, x, y).postAndCatch()
+ RenderGuiItemOverlayEvent(stack, x, y).postAndCatch()
}