Kaynağa Gözat

gem词条bug

cyzhao 1 yıl önce
ebeveyn
işleme
393ad0bbf5
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;