Fix inserter screen not drawing world overlay
This commit is contained in:
parent
ccefb8ae2f
commit
e4e8dde2fb
|
@ -77,6 +77,8 @@ class InserterScreen(
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun drawBackground(matrixStack: MatrixStack, delta: Float, mouseX: Int, mouseY: Int) {
|
override fun drawBackground(matrixStack: MatrixStack, delta: Float, mouseX: Int, mouseY: Int) {
|
||||||
|
renderBackground(matrixStack)
|
||||||
|
|
||||||
RenderSystem.color4f(1f, 1f, 1f, 1f)
|
RenderSystem.color4f(1f, 1f, 1f, 1f)
|
||||||
client!!.textureManager.bindTexture(BACKGROUND)
|
client!!.textureManager.bindTexture(BACKGROUND)
|
||||||
val x = (width - backgroundWidth) / 2
|
val x = (width - backgroundWidth) / 2
|
||||||
|
|
Loading…
Reference in New Issue