BFA Update (still lots of testing to do tho)
This commit is contained in:
@@ -507,7 +507,7 @@ namespace Game
|
||||
Item pItem = _player.GetItemFromBuyBackSlot(packet.Slot);
|
||||
if (pItem != null)
|
||||
{
|
||||
uint price = _player.GetUInt32Value(PlayerFields.BuyBackPrice1 + (int)(packet.Slot - InventorySlots.BuyBackStart));
|
||||
uint price = _player.GetUInt32Value(ActivePlayerFields.BuyBackPrice + (int)(packet.Slot - InventorySlots.BuyBackStart));
|
||||
if (!_player.HasEnoughMoney(price))
|
||||
{
|
||||
_player.SendBuyError(BuyResult.NotEnoughtMoney, creature, pItem.GetEntry());
|
||||
|
||||
Reference in New Issue
Block a user