screenshot plugin: fix naming of pvp kill filenames

This commit is contained in:
Magic fTail
2018-06-07 02:55:28 +02:00
committed by Adam
parent b00b599a05
commit 8f21189b9d

View File

@@ -266,7 +266,7 @@ public class ScreenshotPlugin extends Plugin
if (config.screenshotKills() && KILL_MESSAGES.stream().anyMatch(chatMessage::contains))
{
String fileName = "Kill " + " " + LocalDate.now();
String fileName = "Kill " + TIME_FORMAT.format(new Date());
takeScreenshot(fileName);
}
}