diff --git a/webapp/controller/GMController.class.php b/webapp/controller/GMController.class.php index f7af915a..ca5ce24a 100644 --- a/webapp/controller/GMController.class.php +++ b/webapp/controller/GMController.class.php @@ -280,12 +280,16 @@ END } } array_unshift($items,$temp); - TGLog::writeToLog("game_2006_api","loot",$items); + TGLog::writeToLog("game_2006_api","loot",array( + $itemId => $items + )); } }else{ for ($i=0; $i<$itemNum; $i++){ $items = \services\LootService::dropOutItem($itemMeta['loot']); - TGLog::writeToLog("game_2006_api","loot",$items); + TGLog::writeToLog("game_2006_api","loot",array( + $itemId => $items + )); } } }