diff --git a/PlayerMethods.h b/PlayerMethods.h index eee1c6b..015dff3 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -2956,7 +2956,7 @@ namespace LuaPlayer int GossipSendMenu(Eluna* /*E*/, lua_State* L, Player* player) { uint32 _npcText = Eluna::CHECKVAL(L, 2); - WorldObject* sender = Eluna::CHECKOBJ(L, 3); + Object* sender = Eluna::CHECKOBJ(L, 3); if (sender->GetTypeId() == TYPEID_PLAYER) { uint32 menu_id = Eluna::CHECKVAL(L, 4);