aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-03-29 15:06:12 +0100
committerGitHub <noreply@github.com>2024-03-29 15:06:12 +0100
commit34d4bd8d9269572d8188635108b695ca368f0c06 (patch)
treead482a9c959dec02a5d072f41b8e54e54827e7a8 /src/main/java/at/hannibal2/skyhanni
parent92dc859cdf013d0b1f73788705f71eec439bd32d (diff)
downloadskyhanni-34d4bd8d9269572d8188635108b695ca368f0c06.tar.gz
skyhanni-34d4bd8d9269572d8188635108b695ca368f0c06.tar.bz2
skyhanni-34d4bd8d9269572d8188635108b695ca368f0c06.zip
Fix: Black Hotbar Slots (#1293)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt
index ee9a6a23a..967d27813 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt
@@ -51,6 +51,9 @@ class GuiEditManager {
fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) {
latestPositions = currentPositions.toMap()
currentPositions.clear()
+ GlStateManager.color(1f, 1f, 1f, 1f)
+ GlStateManager.enableBlend()
+ GlStateManager.tryBlendFuncSeparate(770, 771, 1, 0)
}
@SubscribeEvent