From 38281ab4b46527bd0d519ed96618337fc0f3a67c Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 28 Oct 2023 00:17:21 +0200 Subject: Removed armor stand checks for trevor solver. This fixes/nerfes the feature to not highlight mobs behind blocks sometimes. --- .../java/at/hannibal2/skyhanni/features/misc/trevor/TrevorSolver.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorSolver.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorSolver.kt index 3d387cebd..bdbe5b6df 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorSolver.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorSolver.kt @@ -12,7 +12,6 @@ import at.hannibal2.skyhanni.utils.toLorenzVec import net.minecraft.client.Minecraft import net.minecraft.client.entity.EntityOtherPlayerMP import net.minecraft.entity.EntityLivingBase -import net.minecraft.entity.item.EntityArmorStand import kotlin.time.Duration.Companion.seconds object TrevorSolver { @@ -60,11 +59,6 @@ object TrevorSolver { if ((currentMob == TrevorMobs.RABBIT || currentMob == TrevorMobs.SHEEP) && mobLocation == CurrentMobArea.OASIS) { println("This is unfortunate") } else canSee = entity.canBeSeen() && dist < currentMob!!.renderDistance - - if (!canSee) { - val nameTagEntity = Minecraft.getMinecraft().theWorld.getEntityByID(foundID + 1) - if (nameTagEntity is EntityArmorStand) canSee = true - } if (canSee) { if (mobLocation != CurrentMobArea.FOUND) { LorenzUtils.sendTitle("ยง2Saw ${currentMob!!.mobName}!", 3.seconds) -- cgit