This commit is contained in:
Cai 2026-01-28 17:48:26 +08:00
parent 6159b35e72
commit e2740b6a36
No known key found for this signature in database
GPG key ID: 7D738D40768F4D11
3 changed files with 63 additions and 165 deletions

View file

@ -257,8 +257,8 @@ namespace TShockAPI
throw new ArgumentNullException("str");
string[] comp = str.Split(',');
if (comp.Length != 3)
throw new FormatException("String does not contain three sections.");
if (comp.Length != 4)
throw new FormatException("String does not contain 4 sections.");
int netId = Int32.Parse(comp[0]);
int stack = Int32.Parse(comp[1]);