diff options
Diffstat (limited to 'src/main/kotlin/dulkirmod/features/rift')
-rw-r--r-- | src/main/kotlin/dulkirmod/features/rift/IchorHighlight.kt | 5 | ||||
-rw-r--r-- | src/main/kotlin/dulkirmod/features/rift/SteakDisplay.kt | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/main/kotlin/dulkirmod/features/rift/IchorHighlight.kt b/src/main/kotlin/dulkirmod/features/rift/IchorHighlight.kt index d18413d..580a8b9 100644 --- a/src/main/kotlin/dulkirmod/features/rift/IchorHighlight.kt +++ b/src/main/kotlin/dulkirmod/features/rift/IchorHighlight.kt @@ -19,10 +19,7 @@ object IchorHighlight { if (TabListUtils.area != "The Rift") return val entity = event.entity - val newPos = WorldRenderUtils.fixRenderPos(event.x, event.y, event.z) - val x = newPos[0] - val y = newPos[1] + 3 - val z = newPos[2] + val (x, y, z) = WorldRenderUtils.fixRenderPos(event.x, event.y + 3, event.z) if (entity is EntityArmorStand) { if (entity.getEquipmentInSlot(4) != null && entity.getEquipmentInSlot(4).item === Items.skull) { 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, |