From a03114650bbfacc609562aa74c3872063bec9ff4 Mon Sep 17 00:00:00 2001 From: punchready Date: Tue, 10 May 2022 12:40:48 +0200 Subject: [PATCH] chore: clean up formatting --- TShockAPI/Utils.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 9dcbbd84..bcc34ab2 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -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 {