feat(Core/Player): SendListInventory with vendor id (#48)

VendorId
This commit is contained in:
Revision
2022-07-05 21:10:35 +02:00
committed by GitHub
parent e67a18ca72
commit 0b8b6c0e2a

View File

@@ -2362,8 +2362,9 @@ namespace LuaPlayer
int SendListInventory(lua_State* L, Player* player)
{
WorldObject* obj = Eluna::CHECKOBJ<WorldObject>(L, 2);
uint32 vendorId = Eluna::CHECKVAL<uint32>(L, 3, 0);
player->GetSession()->SendListInventory(obj->GET_GUID());
player->GetSession()->SendListInventory(obj->GET_GUID(), vendorId);
return 0;
}