Core: Updated to 11.2.0

Port From (https://github.com/TrinityCore/TrinityCore/commit/5cf0c6c8bb2c4e58a2d66ba5f304af34d18a4782)
This commit is contained in:
Hondacrx
2025-08-25 20:48:29 -04:00
parent d64045154a
commit aaa669210a
63 changed files with 5958 additions and 5434 deletions
+17
View File
@@ -301,7 +301,16 @@ namespace Game
SendTradeStatus(info);
return;
}
if (Player.IsAccountBankPos(item.GetSlot(), item.GetBagSlot()))
{
info.Status = TradeStatus.Failed;
info.BagResult = InventoryResult.CantTradeAccountItem;
SendTradeStatus(info);
return;
}
}
item = his_trade.GetItem((TradeSlots)i);
if (item != null)
{
@@ -312,6 +321,14 @@ namespace Game
return;
}
}
if (Player.IsAccountBankPos(item.GetSlot(), item.GetBagSlot()))
{
info.Status = TradeStatus.Failed;
info.BagResult = InventoryResult.CantTradeAccountItem;
SendTradeStatus(info);
return;
}
}
if (his_trade.IsAccepted())