summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-12-20 22:35:01 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-12-20 22:35:01 -0500
commit1870336f4c175b067690fdd6c390ae74bed984b7 (patch)
treefcd41db5c466a3032fc22b5eea84c54370709ad8
parent8d298991825bbb1c676ba592dd6f7fe0ecbb1e0b (diff)
downloadSMAPI-1870336f4c175b067690fdd6c390ae74bed984b7.tar.gz
SMAPI-1870336f4c175b067690fdd6c390ae74bed984b7.tar.bz2
SMAPI-1870336f4c175b067690fdd6c390ae74bed984b7.zip
update for item changes
-rw-r--r--src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs
index d1dd758b..34149209 100644
--- a/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs
+++ b/src/SMAPI.Mods.ConsoleCommands/Framework/ItemRepository.cs
@@ -107,12 +107,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework
// furniture
foreach (int id in this.TryLoad<int, string>("Data\\Furniture").Keys)
- {
- if (id == 1466 || id == 1468 || id == 1680)
- yield return this.TryCreate(ItemType.Furniture, id, p => new TV(p.ID, Vector2.Zero));
- else
- yield return this.TryCreate(ItemType.Furniture, id, p => new Furniture(p.ID, Vector2.Zero));
- }
+ yield return this.TryCreate(ItemType.Furniture, id, p => Furniture.GetFurnitureInstance(p.ID));
// craftables
foreach (int id in Game1.bigCraftablesInformation.Keys)