slayer plugin: support new Turael task completion message

This commit is contained in:
Adam
2020-08-12 10:15:43 -04:00
parent d104c9a3e7
commit 7c19a6c73b
2 changed files with 13 additions and 1 deletions

View File

@@ -462,7 +462,7 @@ public class SlayerPlugin extends Plugin
config.slaughter(slaughterChargeCount);
}
if (chatMsg.endsWith("; return to a Slayer master."))
if (chatMsg.startsWith("You've completed") && (chatMsg.contains("Slayer master") || chatMsg.contains("Slayer Master")))
{
Matcher mComplete = CHAT_COMPLETE_MESSAGE.matcher(chatMsg);