arsenal recipe function fix
This commit is contained in:
1 parent
f0ca21d39a
commit
ccf777874b
1 file changed
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user