aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2022-12-22 20:10:01 +0100
committerCow <cow@volloeko.de>2022-12-22 20:10:01 +0100
commit23444c26af9821b249f88576c32e83a49524c504 (patch)
tree8227b1c6cf3d5680e05baddc3a19b5006efad2bf /src
parentf856df9375b2e0d8230ad7385e022234b9b6d6c5 (diff)
downloadCowlection-23444c26af9821b249f88576c32e83a49524c504.tar.gz
Cowlection-23444c26af9821b249f88576c32e83a49524c504.tar.bz2
Cowlection-23444c26af9821b249f88576c32e83a49524c504.zip
Fixed Dungeons Party Finder player lookup
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/cowtipper/cowlection/listener/ChatListener.java4
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");
}