diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/MGUIGraphics.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/MGUIGraphics.kt index 034965501..8ac2acda0 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/MGUIGraphics.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/MGUIGraphics.kt @@ -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)