Commands & Settings

This commit is contained in:
Daniel Mills committed 2020-09-04 21:10:48 -04:00
1 parent b158ea9e78
commit ef6036a7d0
40 files changed
+334 -121

No files matched your search

@@ -85,7 +85,6 @@ public class ObjectResourceLoader extends ResourceLoader<IrisObject>
IrisObject t = new IrisObject(0, 0, 0);
t.read(j);
loadCache.put(key, t);
Iris.hotloader.track(j);
J.a(() -> Iris.verbose("Loading " + resourceTypeName + ": " + j.getPath()));
t.setLoadKey(name);
lock.unlock();
@@ -83,7 +83,6 @@ public class ResourceLoader<T extends IrisRegistrant>
{
T t = new Gson().fromJson(IO.readAll(j), objectClass);
loadCache.put(key, t);
Iris.hotloader.track(j);
J.a(() -> Iris.verbose("Loading " + resourceTypeName + ": " + j.getPath()));
t.setLoadKey(name);
t.setLoadFile(j);