Browse Source

导表没配显示层提示

zhaoyang 2 years ago
parent
commit
5514b3ce30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      GameClient/Assets/Editor/Excel/ExcelChecker.cs

+ 1 - 1
GameClient/Assets/Editor/Excel/ExcelChecker.cs

@@ -158,7 +158,7 @@ namespace GFGEditor
             ItemCfg[] dataArray = cfgArray.dataArray;
             ItemCfg[] dataArray = cfgArray.dataArray;
             foreach (ItemCfg cfg in dataArray)
             foreach (ItemCfg cfg in dataArray)
             {
             {
-                if (!string.IsNullOrEmpty(cfg.resLayer1) && !string.IsNullOrEmpty(cfg.resLayer2) && !string.IsNullOrEmpty(cfg.resLayer3) && ItemUtilCS.IsDressUpItem(cfg.id))
+                if (string.IsNullOrEmpty(cfg.resLayer1) && string.IsNullOrEmpty(cfg.resLayer2) && string.IsNullOrEmpty(cfg.resLayer3) && ItemUtilCS.IsDressUpItem(cfg.id))
                 {
                 {
                     ET.Log.Error(new Exception("物品" + cfg.id + "没有配置显示层"));
                     ET.Log.Error(new Exception("物品" + cfg.id + "没有配置显示层"));
                 }
                 }