9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 12:09:07 +00:00

Commands & Settings

This commit is contained in:
Daniel Mills
2020-09-04 21:10:48 -04:00
parent b158ea9e78
commit ef6036a7d0
40 changed files with 334 additions and 121 deletions

View File

@@ -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();

View File

@@ -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);