[General] Forward PlayerJournal packets to other players

This commit is contained in:
David Cernat 2017-05-18 12:57:48 +03:00
parent 0189dbf916
commit 04c9c5ed48
2 changed files with 2 additions and 2 deletions

View file

@ -22,6 +22,8 @@ namespace mwmp
{
DEBUG_PRINTF(strPacketID.c_str());
packet.Send(true);
Script::Call<Script::CallbackIdentity("OnPlayerJournal")>(player.getId());
}
};

View file

@ -20,8 +20,6 @@ namespace mwmp
virtual void Do(PlayerPacket &packet, BasePlayer *player)
{
if (!isLocal()) return;
if (isRequest())
{
// Entire journal cannot currently be requested from players