Check for storage load for git storage

This commit is contained in:
crschnick
2023-11-27 23:10:49 +00:00
parent be36ad0554
commit fa1e3ee52d
2 changed files with 3 additions and 2 deletions

View File

@@ -37,6 +37,9 @@ public abstract class DataStorage {
private static DataStorage INSTANCE;
protected final Path dir;
@Getter
protected boolean loaded;
@Getter
protected final List<DataStoreCategory> storeCategories;

View File

@@ -25,8 +25,6 @@ public class StandardStorage extends DataStorage {
@Getter
private final GitStorageHandler gitStorageHandler;
private boolean loaded;
StandardStorage() {
this.gitStorageHandler = GitStorageHandler.getInstance();
this.gitStorageHandler.init(dir);