diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-24 09:41:52 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-09-24 09:41:52 +0200 |
commit | ed5ec92ca497fc8de2cbaeb29ec44879a43a33ea (patch) | |
tree | ef8f00e717b5004dcc146807b31ece361c635d6f /src/main/java | |
parent | 11632aed7d7215d225d270dda41d4d75999d3fcd (diff) | |
download | skyhanni-ed5ec92ca497fc8de2cbaeb29ec44879a43a33ea.tar.gz skyhanni-ed5ec92ca497fc8de2cbaeb29ec44879a43a33ea.tar.bz2 skyhanni-ed5ec92ca497fc8de2cbaeb29ec44879a43a33ea.zip |
Fixed garden visitor not highlighting on status "new"
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt | 3 |
1 files changed, 2 insertions, 1 deletions
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<EntityArmorStand>()) { + for (entity in EntityUtils.getAllEntities()) { + if (entity is EntityArmorStand) continue if (entity.getLorenzVec().distanceIgnoreY(nameTag.getLorenzVec()) != 0.0) continue visitor.entityId = entity.entityId |