removed extension for region names + refactor
This commit is contained in:
@@ -86,7 +86,7 @@ namespace RecrownedAthenaeum.Tools.CommandProcessor
|
||||
/// <param name="argument">The argument to find the index of.</param>
|
||||
/// <param name="arguments">The array containing all arguments.</param>
|
||||
/// <returns>The index or throws argument exception if it doesn't exist.</returns>
|
||||
public int IndexOfArgumentIn(string argument, string[] arguments)
|
||||
public int IndexOfArgument(string argument, string[] arguments)
|
||||
{
|
||||
if (arguments != null)
|
||||
{
|
||||
@@ -105,7 +105,7 @@ namespace RecrownedAthenaeum.Tools.CommandProcessor
|
||||
{
|
||||
try
|
||||
{
|
||||
IndexOfArgumentIn(argument, arguments);
|
||||
IndexOfArgument(argument, arguments);
|
||||
}
|
||||
catch (ArgumentException)
|
||||
{
|
||||
@@ -127,7 +127,7 @@ namespace RecrownedAthenaeum.Tools.CommandProcessor
|
||||
/// <returns>The index or throws argument exception if it doesn't exist.</returns>
|
||||
public int IndexOfArgumentIn(EngineCommandArgument argument, string[] arguments)
|
||||
{
|
||||
return IndexOfArgumentIn(argument.invokeString, arguments);
|
||||
return IndexOfArgument(argument.invokeString, arguments);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user