Don't multiply the full height in ClickBox.kt

This commit is contained in:
Username404-59 2021-04-11 20:12:32 +02:00
parent 941a6143c0
commit c06535047c
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class ClickBox(x: Double, y: Double, private val name: TranslatableComponent? =
vertex(x + inclination, y, 0.0).colorEnd()
// Render the box:
val fullHeight = (y + height) * 6
val fullHeight = (y + height) + 80
vertex(x, fullHeight, 0.0).colorEnd()
vertex(x + width + inclination, fullHeight, 0.0).colorEnd()
vertex(x + width + inclination, y + height, 0.0).colorEnd()