This commit is contained in:
YangHua 2024-02-29 22:36:03 +08:00
parent b3743f199c
commit 483068ce52
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ public class FormationManager : MonoSingleton<FormationManager>
var result = reciveInfo.Split(separators) // 对字符串进行切割操作
.Where(s => !String.IsNullOrWhiteSpace(s) && s != "") // 移除空白或者只包含空格的元素
.ToList();
if (result.Count > 0)
if (result[2] != "" && !string.IsNullOrEmpty(result[2]))
{
if (result[0] == "group")
{