mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Dont change the whole block. just the required line.
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
@@ -2158,19 +2158,16 @@ namespace LuaGlobalFunctions
|
||||
#endif
|
||||
draft.AddItem(item);
|
||||
|
||||
|
||||
if (mailGUID <= 0)
|
||||
{
|
||||
#if defined AZEROTHCORE
|
||||
if (mailGUID <= 0)
|
||||
{
|
||||
mailGUID = item->GetGUIDLow();
|
||||
Eluna::Push(L, mailGUID);
|
||||
}
|
||||
#elif defined TRINITY
|
||||
if (mailGUID <= 0)
|
||||
{
|
||||
mailGUID = item->GetGUID();
|
||||
#endif
|
||||
Eluna::Push(L, mailGUID);
|
||||
}
|
||||
#endif
|
||||
++addedItems;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user