wintertodt: improve fletching activity status detection

This commit is contained in:
Michael
2021-07-02 18:00:35 -04:00
committed by GitHub
parent 2f388c6d59
commit 9a038f5025
@@ -260,6 +260,12 @@ public class WintertodtPlugin extends Plugin
MessageNode messageNode = chatMessage.getMessageNode();
final WintertodtInterruptType interruptType;
if (messageNode.getValue().startsWith("You carefully fletch the root"))
{
setActivity(WintertodtActivity.FLETCHING);
return;
}
if (messageNode.getValue().startsWith("The cold of"))
{
interruptType = WintertodtInterruptType.COLD;