mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 02:20:57 +00:00
fallback to base loader if shortcut doesnt exist
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user