screenshot-plugin: don't include spaces in file names

This commit is contained in:
UniquePassive
2018-02-15 20:48:46 +01:00
parent 18b60ea3bc
commit 97cb48b6dd

View File

@@ -264,7 +264,7 @@ public class ScreenshotPlugin extends Plugin
String skillName = skillText.substring(skillText.indexOf("a ") + 2, skillText.indexOf(" level."));
String skillLevel = levelText.substring(levelText.lastIndexOf(" ") + 1, levelText.length() - 1);
fileName = skillName + " (" + skillLevel + ")";
fileName = skillName + "(" + skillLevel + ")";
break;
}
case QUEST_COMPLETED_GROUP_ID: