Modified code to allow the build to complete on mac

Modified code to allow the build to complete on mac
This commit is contained in:
ThePenguinMan96
2025-07-07 19:08:01 -07:00
parent 393a65a15b
commit 0400c1c8b3

View File

@@ -127,7 +127,7 @@ bool CreateSoulShardAction::Execute(Event event)
if (bot->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, soulShardId, count) == EQUIP_ERR_OK)
{
bot->StoreNewItem(dest, soulShardId, true, Item::GenerateItemRandomPropertyId(soulShardId));
SQLTransaction trans = CharacterDatabase.BeginTransaction();
SQLTransaction<CharacterDatabaseConnection> trans = CharacterDatabase.BeginTransaction();
bot->SaveInventoryAndGoldToDB(trans);
CharacterDatabase.CommitTransaction(trans);
return true;