Make log file detection even more lenient

This commit is contained in:
Govindas 2021-06-14 10:41:19 +03:00
parent 402ad7c897
commit ffecfb86fd
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public class AutomaticLogDeleter extends JavaPlugin {
//if file is not a log file
//using contains to make it more likely to catch different types of logging systems
if (!fileName.contains(".log")) {
if (!fileName.contains(".log") && !fileName.contains("log.")) {
continue;
}