mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-29 12:09:07 +00:00
Commands & Settings
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user