Add plugin prefix

This commit is contained in:
Govindas 2021-06-12 15:06:14 +03:00
parent 14d264e84a
commit 780f95c09f

View File

@ -44,9 +44,9 @@ public class AutomaticLogDeleter extends JavaPlugin {
if ((System.currentTimeMillis() - file.lastModified()) > maxOldMillis) {
if (!file.delete()) {
Bukkit.getLogger().log(Level.WARNING, "Failed to delete server log file! Are you sure the file permissions are correct?");
Bukkit.getLogger().log(Level.WARNING, "[AutomaticLogDeleter] Failed to delete server log file! Are you sure the file permissions are correct?");
} else {
Bukkit.getLogger().log(Level.INFO, "Deleted log file " + file.getName());
Bukkit.getLogger().log(Level.INFO, "[AutomaticLogDeleter] Deleted log file " + file.getName());
}
}
}