diff --git a/TShockAPI/Utils.cs b/TShockAPI/Utils.cs index 16da4470..086570c8 100644 --- a/TShockAPI/Utils.cs +++ b/TShockAPI/Utils.cs @@ -734,7 +734,7 @@ namespace TShockAPI foo = foo.Replace("%map%", Main.worldName); foo = foo.Replace("%players%", GetPlayers()); - Regex reg = new Regex("%\\s*(?\\d{0,3})\\s*,\\s*(?\\d{0,3})\\s*,\\s*(?\\d{0,3})\\s*%"); + Regex reg = new Regex("%\\s*(?\\d{1,3})\\s*,\\s*(?\\d{1,3})\\s*,\\s*(?\\d{1,3})\\s*%"); var matches = reg.Matches(foo); Color c = Color.White; foreach (Match match in matches)