Fix tight recursion loop error

This commit is contained in:
Matt Nadareski
2025-02-24 09:27:43 -05:00
parent 1bed35c933
commit 9d3fe39a25

View File

@@ -275,13 +275,13 @@ namespace SabreTools.DatFiles
/// Get the index and machine associated with an item index
/// </summary>
public KeyValuePair<long, Machine?> GetMachineForItemDB(long itemIndex)
=> GetMachineForItemDB(itemIndex);
=> ItemsDB.GetMachineForItem(itemIndex);
/// <summary>
/// Get the index and source associated with an item index
/// </summary>
public KeyValuePair<long, Source?> GetSourceForItemDB(long itemIndex)
=> GetSourceForItemDB(itemIndex);
=> ItemsDB.GetSourceForItem(itemIndex);
/// <summary>
/// Remove a key from the file dictionary if it exists