diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 7a4b0dd..4ec129e 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -2206,7 +2206,10 @@ void Human::GenBattleReportData(a8::MutableXObject* params) } } }//end if rank_reward_meta - params->SetVal("items", items_str != "|" ? items_str : ""); + if (!items_str.empty() && items_str[items_str.size() - 1] == '|') { + items_str.erase(items_str.begin() + items_str.size() - 1); + } + params->SetVal("items", items_str); } { stats.pass_score = MetaMgr::Instance()->GetKillPointParam1(stats.kills);