chore: clean up formatting

This commit is contained in:
punchready 2022-05-10 12:40:48 +02:00
parent 7e381d61f6
commit a03114650b

View file

@ -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
{