Add Quest to quest screenshots

This commit is contained in:
Magic fTail
2018-09-07 02:05:31 +02:00
parent 8b3a4440ff
commit d80e625302

View File

@@ -273,7 +273,7 @@ public class ScreenshotPlugin extends Plugin
{
// "You have completed The Corsair Curse!"
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)