Merge pull request #5358 from MagicfTail/Quest-Screenshot
Add Quest to quest screenshots
This commit is contained in:
@@ -273,7 +273,7 @@ public class ScreenshotPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
// "You have completed The Corsair Curse!"
|
// "You have completed The Corsair Curse!"
|
||||||
String text = client.getWidget(WidgetInfo.QUEST_COMPLETED_NAME_TEXT).getText();
|
String text = client.getWidget(WidgetInfo.QUEST_COMPLETED_NAME_TEXT).getText();
|
||||||
fileName = text.substring(19, text.length() - 1);
|
fileName = "Quest(" + text.substring(19, text.length() - 1) + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fileName != null)
|
if (fileName != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user