From e4e8dde2fb40b3140373129e9dc648cd79906ff8 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 28 Feb 2021 22:21:08 -0500 Subject: [PATCH] Fix inserter screen not drawing world overlay --- .../net/shadowfacts/phycon/block/inserter/InserterScreen.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/net/shadowfacts/phycon/block/inserter/InserterScreen.kt b/src/main/kotlin/net/shadowfacts/phycon/block/inserter/InserterScreen.kt index 699b704..393c9d5 100644 --- a/src/main/kotlin/net/shadowfacts/phycon/block/inserter/InserterScreen.kt +++ b/src/main/kotlin/net/shadowfacts/phycon/block/inserter/InserterScreen.kt @@ -77,6 +77,8 @@ class InserterScreen( } override fun drawBackground(matrixStack: MatrixStack, delta: Float, mouseX: Int, mouseY: Int) { + renderBackground(matrixStack) + RenderSystem.color4f(1f, 1f, 1f, 1f) client!!.textureManager.bindTexture(BACKGROUND) val x = (width - backgroundWidth) / 2