Only check for Error Handler on SMAPI 3.9+

This commit is contained in:
AnotherPillow 2022-11-13 17:06:10 +00:00
parent b95d2a3f93
commit d521c20e8a
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ else if (log?.IsValid == true)
{
<h2>Suggested fixes</h2>
<ul id="fix-list">
@if (errorHandler is null)
@if (errorHandler is null && log.ApiVersionParsed?.IsNewerThan("3.8.4") is true)
{
<li class="important">You don't have the <strong>Error Handler</strong> mod installed. This automatically prevents many game or mod errors. You can <a href="https://stardewvalleywiki.com/Modding:Player_Guide#Install_SMAPI">reinstall SMAPI</a> to re-add it.</li>
}