Browse Source

gem词条bug

cyzhao 1 year ago
parent
commit
393ad0bbf5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Gameserver/App/process/StoreProc.php

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

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