diff --git a/Yafc.Parser/Data/FactorioDataDeserializer_Context.cs b/Yafc.Parser/Data/FactorioDataDeserializer_Context.cs index 9ad1157f..5db29e99 100644 --- a/Yafc.Parser/Data/FactorioDataDeserializer_Context.cs +++ b/Yafc.Parser/Data/FactorioDataDeserializer_Context.cs @@ -182,13 +182,6 @@ private static bool AreInverseRecipes(Recipe packing, Recipe unpacking) { return false; } - // Some mods add productivity permissions to the recipes, but not to the crafters; still allow these to be matched as inverses. - // TODO: Consider removing this check entirely? - if ((unpacking.crafters.OfType().Any(c => c.moduleSlots > 0 && c.allowedEffects.HasFlag(AllowedEffects.Productivity)) && unpacking.IsProductivityAllowed()) - || (packing.crafters.OfType().Any(c => c.moduleSlots > 0 && c.allowedEffects.HasFlag(AllowedEffects.Productivity)) && packing.IsProductivityAllowed())) { - return false; - } - return true;