aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-15 20:38:33 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-04-15 20:38:33 +0200
commitf0029421b834ba4724abdcf95af20ff6919ea560 (patch)
treee4d5640822ed4d48ab8abf0d6908bd13f5df6d7d /src/main/java
parente43d1b9e5debae6fb9b75134f3e708e8baa83ea1 (diff)
downloadskyhanni-f0029421b834ba4724abdcf95af20ff6919ea560.tar.gz
skyhanni-f0029421b834ba4724abdcf95af20ff6919ea560.tar.bz2
skyhanni-f0029421b834ba4724abdcf95af20ff6919ea560.zip
Fixed that skyhanni things you are a visitor, and you are joining your own island and want something from yourself
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt3
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 d56d7f213..3a92b0f23 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
@@ -370,8 +370,9 @@ class GardenVisitorFeatures {
// Hide hypixel watchdog entries
if (name.contains("§c") && !name.contains("Spaceman") && !name.contains("Grandma Wolf")) continue
+
//hide own player name
- if (name.contains(LorenzUtils.getPlayerUuid())) continue
+ if (name.contains(LorenzUtils.getPlayerName())) continue
visitorsInTab.add(name)
}