diff --git a/docs/release-notes.md b/docs/release-notes.md index d7c8e987..160ce286 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -5,7 +5,7 @@ * For players: * Fixed installer not detecting Linux Flatpak install paths. * Fixed content issues for non-English players in recent builds (e.g. content packs not detecting the current festival correctly). - * Fixed dried items, smoked items, and picked forage not handled by console commands like `list_items` or `player_add`. + * Fixed dried items, pickled forage, smoked fish, and specific bait not handled by console commands like `list_items` or `player_add`. * For mod authors: * Updated dependencies, including... diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs index 4160d97f..0cb2c4d4 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs @@ -85,6 +85,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework case "(O)DriedFruit": case "(O)DriedMushrooms": case "(O)SmokedFish": + case "(O)SpecificBait": break; default: @@ -190,6 +191,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework // fish case SObject.FishCategory: yield return this.TryCreate(itemType.Identifier, $"SmokedFish/{id}", _ => objectDataDefinition.CreateFlavoredSmokedFish(item)); + yield return this.TryCreate(itemType.Identifier, $"SpecificBait/{id}", _ => objectDataDefinition.CreateFlavoredBait(item)); break; // fruit products