fallback to base loader if shortcut doesnt exist

This commit is contained in:
dfsek
2025-12-30 12:01:40 -07:00
parent 5dc9f419ac
commit 8eb5a70d4d

View File

@@ -41,7 +41,6 @@ public class ShortcutHolder<T> implements TypeLoader<T> {
return shortcuts.get(shortcut).load(configLoader, id.substring(id.indexOf(":") + 1),
depthTracker.intrinsic("Using shortcut \"" + shortcut + "\""));
}
throw new LoadException("Shortcut \"" + shortcut + "\" is not defined.", depthTracker);
}
return back.load(annotatedType, o, configLoader, depthTracker);
}