diff options
author | Cow <cow@volloeko.de> | 2022-12-22 20:10:01 +0100 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2022-12-22 20:10:01 +0100 |
commit | 23444c26af9821b249f88576c32e83a49524c504 (patch) | |
tree | 8227b1c6cf3d5680e05baddc3a19b5006efad2bf /src/main/java/de | |
parent | f856df9375b2e0d8230ad7385e022234b9b6d6c5 (diff) | |
download | Cowlection-23444c26af9821b249f88576c32e83a49524c504.tar.gz Cowlection-23444c26af9821b249f88576c32e83a49524c504.tar.bz2 Cowlection-23444c26af9821b249f88576c32e83a49524c504.zip |
Fixed Dungeons Party Finder player lookup
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/listener/ChatListener.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java b/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java index 18f50e9..243aa4a 100644 --- a/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java +++ b/src/main/java/de/cowtipper/cowlection/listener/ChatListener.java @@ -40,7 +40,7 @@ public class ChatListener { private static final Pattern CHAT_MESSAGE_RECEIVED_PATTERN = Pattern.compile("^(?:Party|Guild) > (?:\\[.*?] )?(\\w+)(?: \\[.*?])?: "); private static final Pattern PRIVATE_MESSAGE_RECEIVED_PATTERN = Pattern.compile("^From (?:\\[.*?] )?(\\w+): "); private static final Pattern PARTY_OR_GAME_INVITE_PATTERN = Pattern.compile("^-+\\s+(?:\\[.*?] )?(\\w+) has invited you "); - private static final Pattern DUNGEON_FINDER_JOINED_PATTERN = Pattern.compile("^Dungeon Finder > (\\w+) joined the dungeon group! \\(([A-Z][a-z]+) Level (\\d+)\\)$"); + private static final Pattern DUNGEON_FINDER_JOINED_PATTERN = Pattern.compile("^Party Finder > (\\w+) joined the dungeon group! \\(([A-Z][a-z]+) Level (\\d+)\\)$"); private final Cowlection main; private String lastTypedChars = ""; private String lastPMSender; @@ -190,7 +190,7 @@ public class ChatListener { main.getDungeonCache().lookupPartyMembers(); } } - } else if (CredentialStorage.isMooValid && MooConfig.dungPartyFullLookup && message.equals("Dungeon Finder > Your dungeon group is full! Click here to warp to the dungeon!") + } else if (CredentialStorage.isMooValid && MooConfig.dungPartyFullLookup && message.equals("Party Finder > Your dungeon group is full! Click here to warp to the dungeon!") && (Minecraft.getMinecraft().currentScreen == null || Minecraft.getMinecraft().currentScreen instanceof GuiChat)) { ClientCommandHandler.instance.executeCommand(Minecraft.getMinecraft().thePlayer, "/moo dp"); } |