mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
chore(Misc): make AzerothCore new api support
This commit is contained in:
@@ -2116,10 +2116,8 @@ namespace LuaGlobalFunctions
|
||||
draft.SetMoney(money);
|
||||
#endif
|
||||
|
||||
#if defined TRINITY
|
||||
#if defined TRINITY || defined AZEROTHCORE
|
||||
CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
#elif defined AZEROTHCORE
|
||||
SQLTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
#endif
|
||||
uint8 addedItems = 0;
|
||||
while (addedItems <= MAX_MAIL_ITEMS && i + 2 <= argAmount)
|
||||
|
||||
Reference in New Issue
Block a user