From 66a624d5db5e6d8ac22daa0dc2a28e538a804903 Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Mon, 22 Dec 2014 22:58:17 +0200 Subject: [PATCH] Fix item not working with gossip Thanks @ak47sigh --- PlayerMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);