mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
@@ -2362,8 +2362,9 @@ namespace LuaPlayer
|
|||||||
int SendListInventory(lua_State* L, Player* player)
|
int SendListInventory(lua_State* L, Player* player)
|
||||||
{
|
{
|
||||||
WorldObject* obj = Eluna::CHECKOBJ<WorldObject>(L, 2);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user