mirror of
https://github.com/Shiewk/SModeration.git
synced 2026-04-29 06:34:17 +02:00
Migrate older container version to new version on server start
This commit is contained in:
@@ -115,7 +115,7 @@ public final class PunishmentManager {
|
||||
return List.copyOf(typeRegistry.keySet());
|
||||
}
|
||||
|
||||
private void appendToSave(Punishment punishment) throws IOException {
|
||||
public void appendToSave(Punishment punishment) throws IOException {
|
||||
synchronized (ioLock) {
|
||||
Path file = getTargetFile(punishment.getTargetID());
|
||||
if (!Files.exists(file)) {
|
||||
|
||||
Reference in New Issue
Block a user