diff --git a/HookMgr.cpp b/HookMgr.cpp index 9978f1c..61f7c52 100644 --- a/HookMgr.cpp +++ b/HookMgr.cpp @@ -1283,7 +1283,7 @@ bool HookMgr::OnPacketReceive(WorldSession* session, WorldPacket& packet) WorldPacket* data = sEluna->CHECKOBJ(sEluna->L, i, false); if (data) packet = *data; - if (!sEluna->CHECKOBJ(sEluna->L, i, true)) + if (!sEluna->CHECKVAL(sEluna->L, i, true)) result = false; } sEluna->PacketEventBindings.EndCall();