Skip to content

Commit

Permalink
Fix beta publish regression
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidPack committed Dec 23, 2020
1 parent 7f5ab96 commit 36a1c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/tModLoader/Terraria.ModLoader.UI/UIModSourceItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ private static void PublishModInner(TmodFile modFile, BuildProperties bp, bool c
Content = modFile.GetBytes("icon.png")
});
}
//if (bp.beta)
// throw new WebException(Language.GetTextValue("tModLoader.BetaModCantPublishError"));
if (bp.beta)
throw new WebException(Language.GetTextValue("tModLoader.BetaModCantPublishError"));
if (bp.buildVersion != modFile.tModLoaderVersion)
throw new WebException(Language.GetTextValue("OutdatedModCantPublishError.BetaModCantPublishError"));

Expand Down

0 comments on commit 36a1c9e

Please sign in to comment.