diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-10 20:54:07 +0200 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-04-10 20:54:07 +0200 |
commit | 28bc87528709c76d85d90c065d428ef9c31d2bbb (patch) | |
tree | d18746aadaa1f51e030ec8faece8766a84297d7a /src/main/java/at/hannibal2/skyhanni/features/summonings | |
parent | bc33d91ec58ecd4dd782485c48385dfad79522c2 (diff) | |
download | skyhanni-28bc87528709c76d85d90c065d428ef9c31d2bbb.tar.gz skyhanni-28bc87528709c76d85d90c065d428ef9c31d2bbb.tar.bz2 skyhanni-28bc87528709c76d85d90c065d428ef9c31d2bbb.zip |
Hide own player name or hypixel watchdog player names from visitor detection
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/summonings')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt index d80c45974..7b3a5a667 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningMobManager.kt @@ -82,7 +82,7 @@ class SummoningMobManager { val name = it.displayName.unformattedText val matcher = healthPattern.matcher(name) if (matcher.matches()) { - val playerName = Minecraft.getMinecraft().thePlayer.name + val playerName = LorenzUtils.getPlayerName() if (name.contains(playerName)) { summoningMobNametags.add(it as EntityArmorStand) if (summoningMobNametags.size == summoningsSpawned) { |