From ed5ec92ca497fc8de2cbaeb29ec44879a43a33ea Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 24 Sep 2023 09:41:52 +0200 Subject: Fixed garden visitor not highlighting on status "new" --- .../skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/at') diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt index 8cbf48d66..d8f820a6c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt @@ -669,7 +669,8 @@ class GardenVisitorFeatures { } private fun findEntity(nameTag: EntityArmorStand, visitor: Visitor) { - for (entity in EntityUtils.getEntities()) { + for (entity in EntityUtils.getAllEntities()) { + if (entity is EntityArmorStand) continue if (entity.getLorenzVec().distanceIgnoreY(nameTag.getLorenzVec()) != 0.0) continue visitor.entityId = entity.entityId -- cgit