mirror of
https://github.com/songoda/UltimateModeration.git
synced 2025-01-31 11:41:27 +01:00
Fixed unbans not saving on restart
This commit is contained in:
parent
42d6ac9406
commit
deea035be4
@ -62,6 +62,8 @@ public class StorageYaml extends Storage {
|
||||
|
||||
@Override
|
||||
public void doSave() {
|
||||
dataFile.getConfig().set("data", null);
|
||||
|
||||
this.updateData(instance);
|
||||
if (toSave.isEmpty()) return;
|
||||
Map<String, Object> nextSave = new HashMap<>(toSave);
|
||||
|
Loading…
Reference in New Issue
Block a user