Core/DB: Some DB improvements
This commit is contained in:
@@ -772,7 +772,7 @@ namespace Game.Chat
|
||||
{
|
||||
messageChat.Initialize(ChatMsg.System, Language.Universal, null, null, lines[i]);
|
||||
_session.SendPacket(messageChat);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void SendNotification(CypherStrings str, params object[] args)
|
||||
|
||||
@@ -1164,10 +1164,13 @@ namespace Game.Chat
|
||||
if (fbonuslist.IsEmpty())
|
||||
{
|
||||
var bonusListIDsTok = new StringArray(fbonuslist, ';');
|
||||
foreach (string token in bonusListIDsTok)
|
||||
if (!bonusListIDsTok.IsEmpty())
|
||||
{
|
||||
if (uint.TryParse(token, out uint id))
|
||||
vItem.BonusListIDs.Add(id);
|
||||
foreach (string token in bonusListIDsTok)
|
||||
{
|
||||
if (uint.TryParse(token, out uint id))
|
||||
vItem.BonusListIDs.Add(id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user