1
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:
Shy
2026-04-11 19:14:24 +02:00
parent 823093be35
commit 6c76066d8b
3 changed files with 91 additions and 1 deletions
@@ -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)) {