diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-28 00:17:21 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-10-28 00:17:21 +0200 |
commit | 38281ab4b46527bd0d519ed96618337fc0f3a67c (patch) | |
tree | 1b5b74bc44a8569448838ed6ee12ea6694f0a869 /src/main | |
parent | 20b1d741db61194c8dd43edb59d82e0c8a9cd3d1 (diff) | |
download | skyhanni-38281ab4b46527bd0d519ed96618337fc0f3a67c.tar.gz skyhanni-38281ab4b46527bd0d519ed96618337fc0f3a67c.tar.bz2 skyhanni-38281ab4b46527bd0d519ed96618337fc0f3a67c.zip |
Removed armor stand checks for trevor solver. This fixes/nerfes the feature to not highlight mobs behind blocks sometimes.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/misc/trevor/TrevorSolver.kt | 6 |
1 files changed, 0 insertions, 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) |