Fix the Y axis of the rendered strings.

This commit is contained in:
Username404-59 2021-04-10 19:35:59 +02:00
parent 3636c74851
commit 37376fdc6a
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class ClickBox(x: Double, y: Double, private val name: TranslatableComponent? =
RenderSystem.disableBlend()
if (name != null) {
Minecraft.getInstance().font.draw(poseStack, name.string, x.toFloat() + 2, y.toFloat() + 1, TransparentColor)
Minecraft.getInstance().font.draw(poseStack, name.string, x.toFloat() + 2, y.toFloat() + 2, TransparentColor)
}
}
}