aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt')
-rw-r--r--src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt b/src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt
index 877474c..171dc7a 100644
--- a/src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt
+++ b/src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt
@@ -19,10 +19,7 @@ object SteakDisplay {
if (event.entity is EntityArmorStand && event.entity.hasCustomName()) {
val name = Utils.stripColorCodes(event.entity.customNameTag)
- val newPos = WorldRenderUtils.fixRenderPos(event.x, event.y, event.z)
- val x = newPos[0]
- val y = newPos[1]
- val z = newPos[2]
+ val (x, y, z) = WorldRenderUtils.fixRenderPos(event.x, event.y, event.z)
if (name.contains(char) && name.contains("Vampire Boss")) {
WorldRenderUtils.drawCustomBox(
x - .5,