diff --git a/RecrownedAthenaeum.ConsoleTools/Properties/PublishProfiles/FolderProfile.pubxml b/RecrownedAthenaeum.ConsoleTools/Properties/PublishProfiles/FolderProfile.pubxml new file mode 100644 index 0000000..6ad5bfd --- /dev/null +++ b/RecrownedAthenaeum.ConsoleTools/Properties/PublishProfiles/FolderProfile.pubxml @@ -0,0 +1,13 @@ + + + + + FileSystem + Release + Any CPU + netcoreapp2.1 + bin\Release\netcoreapp2.1\publish\ + + \ No newline at end of file diff --git a/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs b/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs index bcaf9fc..24ae583 100644 --- a/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs +++ b/RecrownedAthenaeum.ConsoleTools/TextureAtlasTools/TexturePackerCommand.cs @@ -90,7 +90,7 @@ namespace RecrownedAthenaeum.Tools.TextureAtlasTools { if (arguments[i] == "-9p") { - if (i + 5 >= arguments.Length) throw new ArgumentException("-9p is not followed by proper specifiers for a 9Patch (format: \"-9p textureName,a,b,c,d\" where a, b, c, and d are integers definining the border regions for the 9patch.)"); + if (i + 1 >= arguments.Length) throw new ArgumentException("-9p is not followed by proper specifiers for a 9Patch (format: \"-9p textureName,a,b,c,d\" where a, b, c, and d are integers definining the border regions for the 9patch.)"); string[] nPatchArgs = arguments[i + 1].Split(','); try {