diff --git a/PrismaticTools/Framework/Blacksmith.cs b/PrismaticTools/Framework/Blacksmith.cs index 55a7cf5..4a6a9de 100644 --- a/PrismaticTools/Framework/Blacksmith.cs +++ b/PrismaticTools/Framework/Blacksmith.cs @@ -31,8 +31,8 @@ private static void OnMenuChanged(object sender, MenuChangedEventArgs e) { Tool toolFromName4 = who.getToolFromName("Hoe"); Tool tool; - List forSale = ModEntry.ModHelper.Reflection.GetField>(menu, "forSale").GetValue(); - Dictionary stock = ModEntry.ModHelper.Reflection.GetField>(menu, "itemPriceAndStock").GetValue(); + List forSale = menu.forSale; + Dictionary stock = menu.itemPriceAndStock; if (toolFromName1 != null && toolFromName1.UpgradeLevel == 4) { tool = new Axe { UpgradeLevel = 5 }; diff --git a/PrismaticTools/PrismaticTools.csproj b/PrismaticTools/PrismaticTools.csproj index e318861..196de1c 100644 --- a/PrismaticTools/PrismaticTools.csproj +++ b/PrismaticTools/PrismaticTools.csproj @@ -5,6 +5,8 @@ PrismaticTools 1.7.1 net452 + x86 + x86 true