Merge pull request #96 from TheSandwichMakr/master

Exit if user doesn't have Nexus premium during pack creation
This commit is contained in:
Timothy Baldridge 2019-10-14 16:05:45 -06:00 committed by GitHub
commit 021f29b2c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,7 +264,7 @@ namespace Wabbajack
if (IndexedArchives.Any(a => a.IniData?.General?.gameName != null))
{
var nexusClient = new NexusApiClient();
if (!nexusClient.IsPremium) Info($"User {nexusClient.Username} is not a premium Nexus user, cannot continue");
if (!nexusClient.IsPremium) Error($"User {nexusClient.Username} is not a premium Nexus user, so we cannot access the necessary API calls, cannot continue");
}