chore: clean up formatting
This commit is contained in:
parent
7e381d61f6
commit
a03114650b
1 changed files with 2 additions and 2 deletions
|
|
@ -574,7 +574,7 @@ namespace TShockAPI
|
|||
var sb = new StringBuilder(3);
|
||||
for (int i = 0; i < str.Length; i++)
|
||||
{
|
||||
if (Char.IsDigit(str[i]) || (str[i] == '-' || str[i] == '+' || str[i] == ' '))
|
||||
if (char.IsDigit(str[i]) || str[i] == '-' || str[i] == '+' || str[i] == ' ')
|
||||
sb.Append(str[i]);
|
||||
else
|
||||
{
|
||||
|
|
@ -625,7 +625,7 @@ namespace TShockAPI
|
|||
var sb = new StringBuilder(3);
|
||||
for (int i = 0; i < str.Length; i++)
|
||||
{
|
||||
if (char.IsDigit(str[i]) || (str[i] == '-' || str[i] == '+' || str[i] == ' '))
|
||||
if (char.IsDigit(str[i]) || str[i] == '-' || str[i] == '+' || str[i] == ' ')
|
||||
sb.Append(str[i]);
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue