arsenal recipe function fix

This commit is contained in:
GinYuH committed 2023-05-19 04:41:47 -07:00
1 parent f0ca21d39a
commit ccf777874b
1 file changed
+2 -2
+2 -2
View File
@@ -8,11 +8,11 @@ namespace CalamityMod.CustomRecipes
{
public static LocalizedText ConstructRecipeCondition(int tier, out Func<bool> condition)
{
condition = r => HasTierBeenLearned(tier);
condition = new Func<bool>(()=>HasBeenLearned(tier));
return Language.GetOrRegister($"Mods.CalamityMod.Misc.Tier{tier}ArsenalRecipeCondition");
}
public static bool HasTierBeenLearned(int tier)
public static bool HasBeenLearned(int tier)
{
return tier switch
{