screenshot-plugin: adjust the comments for to-be-parsed text

This commit is contained in:
UniquePassive
2018-02-15 20:49:54 +01:00
parent 97cb48b6dd
commit 036e8f3b9b

View File

@@ -257,8 +257,9 @@ public class ScreenshotPlugin extends Plugin
return;
}
// "Your Firemaking level is now 9."
// "Congratulations, you just advanced a Firemaking level."
String skillText = skillChild.getText();
// "Your Firemaking level is now 9."
String levelText = levelChild.getText();
String skillName = skillText.substring(skillText.indexOf("a ") + 2, skillText.indexOf(" level."));