浏览代码

gem词条bug

cyzhao 1 年之前
父节点
当前提交
393ad0bbf5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Gameserver/App/process/StoreProc.php

+ 1 - 1
Gameserver/App/process/StoreProc.php

@@ -779,7 +779,7 @@ class StoreProc {
         $arr = array();
         $predicateMo = GameConfig::predicate();
         foreach ($predicateMo as $key => $value) {
-            if ($value->position != null) {
+            if ($value->positions != null) {
                 $list = explode(',', $value->positions);
                 if ($value->qual == $qual && in_array($posId,$list) && $value->attachTarget == "gem") {
                     $arr[] = $value->id;