Skip to content

Commit

Permalink
[Content] Fix RuntimeProvider getting some outfits.
Browse files Browse the repository at this point in the history
  • Loading branch information
riperiperi committed Sep 28, 2019
1 parent 0519063 commit 16023c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TSOClient/tso.content/framework/RuntimeProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ public T Get(uint type, uint fileID)

public T Get(ContentID id)
{
T entry;
if (EntriesByName.TryGetValue(id.FileName, out entry)) return entry;
return default(T);
if (id == null) return default(T);
if (id.FileName != null) return Get(id.FileName);
return Get(id.TypeID, id.FileID);
}

public List<IContentReference<T>> List()
Expand Down

0 comments on commit 16023c3

Please sign in to comment.