<CONTEXT>private static FGStorageManager instance;private final Logger logger = FoxGuardMain.instance().getLogger();</BUG>private final Set<LoadEntry> loaded = new HashSet<>();private final Path directory = getDirectory();private final Map<String, Path> worldDirectories;<extra_id_0>private final Set<LoadEntry> loaded = new HashSet<>();private final Path directory = getDirectory();private final Map<String, Path> worldDirectories;<BUG>private FGStorageManager() {defaultModifiedMap = new CacheMap<>((k, m) -> {</BUG>if (k instanceof IFGObject) {m.put((IFGObject) k, true);return true;</CONTEXT>
public final HashMap<IFGObject, Boolean> defaultModifiedMap;private final UserStorageService userStorageService;private final Logger logger = FoxGuardMain.instance().getLogger();userStorageService = FoxGuardMain.instance().getUserStorage();defaultModifiedMap = new CacheMap<>((k, m) -> {