Fix the Y axis of the rendered strings.
This commit is contained in:
parent
3636c74851
commit
37376fdc6a
|
@ -25,7 +25,7 @@ class ClickBox(x: Double, y: Double, private val name: TranslatableComponent? =
|
||||||
RenderSystem.disableBlend()
|
RenderSystem.disableBlend()
|
||||||
|
|
||||||
if (name != null) {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue