Skip to content

Commit

Permalink
Fix ExampleTravelingMerchant Not Saving Shop Items (#3875)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidF-Dev committed Oct 12, 2023
1 parent 05f30a6 commit a29c3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExampleMod/Content/NPCs/ExampleTravelingMerchant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class ExampleTravelingMerchant : ModNPC
}

public override void SaveData(TagCompound tag) {
tag["itemIds"] = shopItems;
tag["shopItems"] = shopItems;
}

public override void LoadData(TagCompound tag) {
Expand Down

0 comments on commit a29c3ab

Please sign in to comment.