|
|
@ -16,8 +16,6 @@ namespace mwmp
|
|
|
|
void Do(ObjectPacket &packet, Player &player, BaseObjectList &objectList) override
|
|
|
|
void Do(ObjectPacket &packet, Player &player, BaseObjectList &objectList) override
|
|
|
|
{
|
|
|
|
{
|
|
|
|
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received %s from %s", strPacketID.c_str(), player.npc.mName.c_str());
|
|
|
|
LOG_MESSAGE_SIMPLE(Log::LOG_INFO, "Received %s from %s", strPacketID.c_str(), player.npc.mName.c_str());
|
|
|
|
|
|
|
|
|
|
|
|
packet.Send(true);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Script::Call<Script::CallbackIdentity("OnObjectDelete")>(player.getId(), objectList.cell.getDescription().c_str());
|
|
|
|
Script::Call<Script::CallbackIdentity("OnObjectDelete")>(player.getId(), objectList.cell.getDescription().c_str());
|
|
|
|
}
|
|
|
|
}
|
|
|
|