diff options
author | Cow <cow@volloeko.de> | 2020-07-31 19:27:46 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2020-07-31 19:27:46 +0200 |
commit | bf9e3c936858faa55a7ed66cc89403ea844419e8 (patch) | |
tree | 94cccd19f13309501a4268679db9c09fdff60569 /src/main | |
parent | a9ba18c7178a58a88995af7edd9204cbe02638f8 (diff) | |
download | Cowlection-bf9e3c936858faa55a7ed66cc89403ea844419e8.tar.gz Cowlection-bf9e3c936858faa55a7ed66cc89403ea844419e8.tar.bz2 Cowlection-bf9e3c936858faa55a7ed66cc89403ea844419e8.zip |
Fix looking up the player's own armor
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/listener/ChatListener.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java b/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java index 8b563b6..466c002 100644 --- a/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java +++ b/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java @@ -167,7 +167,7 @@ public class ChatListener { messageSender = partyOrGameInviteMatcher.group(1); } else if (dungeonPartyFinderJoinedMatcher.find()) { messageSender = dungeonPartyFinderJoinedMatcher.group(1); - if (!"disabled".equals(MooConfig.dungPartyFinderArmorLookup)) { + if (!"disabled".equals(MooConfig.dungPartyFinderArmorLookup) && !messageSender.equals(Minecraft.getMinecraft().thePlayer.getName())) { String dungeonClass = dungeonPartyFinderJoinedMatcher.group(2) + " Lvl " + dungeonPartyFinderJoinedMatcher.group(3); getDungeonPartyMemberDetails(messageSender, dungeonClass); } |