Fix item icons not being rendered correctly for 1.19.2
This commit is contained in:
parent
5f60ae1896
commit
b763a7d1be
@ -36,7 +36,7 @@ class MGUIGraphics(val pose: PoseStack) {
|
||||
fun renderFakeItem(poseStack: PoseStack, itemStack: ItemStack, x: Int, y: Int) {
|
||||
val global = RenderSystem.getModelViewStack()
|
||||
global.pushPose()
|
||||
global.last().pose().mul(poseStack.last().pose())
|
||||
global.last().pose().multiply(poseStack.last().pose())
|
||||
global.last().normal().mul(poseStack.last().normal())
|
||||
RenderSystem.applyModelViewMatrix()
|
||||
minecraft.itemRenderer.renderGuiItem(itemStack, x, y)
|
||||
|
Loading…
Reference in New Issue
Block a user