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 | |
parent | f856df9375b2e0d8230ad7385e022234b9b6d6c5 (diff) | |
download | Cowlection-23444c26af9821b249f88576c32e83a49524c504.tar.gz Cowlection-23444c26af9821b249f88576c32e83a49524c504.tar.bz2 Cowlection-23444c26af9821b249f88576c32e83a49524c504.zip |
Fixed Dungeons Party Finder player lookup
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/listener/ChatListener.java | 4 | ||||
-rw-r--r-- | update.json | 6 |
4 files changed, 11 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c652aef..aa7c4db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [1.8.9-0.15.0] - 23.10.2022 +## [1.8.9-0.15.1] - 22.12.2022 +### Fixed +- Fixed Dungeons Party Finder player lookup when someone joins a party +## [1.8.9-0.15.0] - 23.10.2022 ### Added - Added data for new content since the last release of Cowlection: @@ -400,6 +403,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). *Note:* The 'best friends' list is currently available via <kbd>ESC</kbd> > Mod Options > Cowlection > Config > bestFriends. +[1.8.9-0.15.1]: https://github.com/cow-mc/Cowlection/compare/v1.8.9-0.15.0...v1.8.9-0.15.1 [1.8.9-0.15.0]: https://github.com/cow-mc/Cowlection/compare/v1.8.9-0.14.0...v1.8.9-0.15.0 [1.8.9-0.14.0]: https://github.com/cow-mc/Cowlection/compare/v1.8.9-0.13.0...v1.8.9-0.14.0 [1.8.9-0.13.0]: https://github.com/cow-mc/Cowlection/compare/v1.8.9-0.12.0...v1.8.9-0.13.0 diff --git a/gradle.properties b/gradle.properties index 0cd6445..04a25f0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ mod_name=Cowlection group_package=de.cowtipper.cowlection -mod_version=0.15.0 +mod_version=0.15.1 git_url=https://github.com/cow-mc/Cowlection/ mc_version=1.8.9 forge_version=11.15.1.2318-1.8.9 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"); } diff --git a/update.json b/update.json index 4337f70..f63b5a9 100644 --- a/update.json +++ b/update.json @@ -1,10 +1,10 @@ { "homepage": "https://github.com/cow-mc/Cowlection/", "1.8.9": { - "1.8.9-0.15.0": "https://github.com/cow-mc/Cowlection/blob/master/CHANGELOG.md" + "1.8.9-0.15.1": "https://github.com/cow-mc/Cowlection/blob/master/CHANGELOG.md" }, "promos": { - "1.8.9-latest": "1.8.9-0.15.0", - "1.8.9-recommended": "1.8.9-0.15.0" + "1.8.9-latest": "1.8.9-0.15.1", + "1.8.9-recommended": "1.8.9-0.15.1" } } |