mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-23 21:14:26 +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),
|
return shortcuts.get(shortcut).load(configLoader, id.substring(id.indexOf(":") + 1),
|
||||||
depthTracker.intrinsic("Using shortcut \"" + shortcut + "\""));
|
depthTracker.intrinsic("Using shortcut \"" + shortcut + "\""));
|
||||||
}
|
}
|
||||||
throw new LoadException("Shortcut \"" + shortcut + "\" is not defined.", depthTracker);
|
|
||||||
}
|
}
|
||||||
return back.load(annotatedType, o, configLoader, depthTracker);
|
return back.load(annotatedType, o, configLoader, depthTracker);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user