screenshot plugin: fix naming of pvp kill filenames

This commit is contained in:
Magic fTail
2018-06-06 20:55:28 -04:00
committed by Adam
parent b00b599a05
commit 8f21189b9d
@@ -266,7 +266,7 @@ public class ScreenshotPlugin extends Plugin
if (config.screenshotKills() && KILL_MESSAGES.stream().anyMatch(chatMessage::contains)) if (config.screenshotKills() && KILL_MESSAGES.stream().anyMatch(chatMessage::contains))
{ {
String fileName = "Kill " + " " + LocalDate.now(); String fileName = "Kill " + TIME_FORMAT.format(new Date());
takeScreenshot(fileName); takeScreenshot(fileName);
} }
} }