Skip to content

Commit

Permalink
UserCreatedRulebook now also returns custom items
Browse files Browse the repository at this point in the history
  • Loading branch information
qkmaxware committed Apr 28, 2021
1 parent fbe8150 commit 4c301bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public UserCreatedSpeciesRulebook(AppData data) {

public IEnumerable<ShipTalent> ShipTalents => Enumerable.Empty<ShipTalent>();

public IEnumerable<Item> Items => Enumerable.Empty<Item>();
public IEnumerable<Item> Items => data?.Custom?.Items ?? Enumerable.Empty<Item>();
}

}

0 comments on commit 4c301bd

Please sign in to comment.