Browse Source

[RecipeMenuCore] [2.0.2.6] Ultimate Fore multi item fix

Zariteis 4 years ago
parent
commit
73291c040a

+ 1 - 1
RecipeMenuCore/Patches/Patch_GameScript_RefreshRecipeUnlock.cs

@@ -104,7 +104,7 @@ namespace RecipeMenuCore.Patches
           if (page.GetRecipePageEntries().Length > i / 3)
           {
             int itemID = page.GetRecipePageEntries()[i / 3].ItemIdExtension[i % 3];
-            if (__instance.RecipeCraftedAlready(itemID, page.GetRecipePageEntries()[i].MinAmount))
+            if (__instance.RecipeCraftedAlready(itemID, 1))
             {
               ___ultLocks[i].SetActive(false);
               hoverElements.transform.GetChild(i).gameObject.SetActive(true);

+ 1 - 1
RecipeMenuCore/RecipeMenuCore.cs

@@ -11,7 +11,7 @@ namespace RecipeMenuCore
   [Gadget("RecipeMenuCore", RequiredOnClients: false)]
   public class RecipeMenuCore : Gadget<RecipeMenuCore>
   {
-    public const string MOD_VERSION = "1.3"; // Set this to the version of your mod.
+    public const string MOD_VERSION = "1.4"; // Set this to the version of your mod.
     public const string CONFIG_VERSION = "1.0"; // Increment this whenever you change your mod's config file.
 
     protected override void LoadConfig()