Player Error log when a item is used but the display charges is 0
This commit is contained in:
parent
c21ee782ec
commit
679c1bd779
1 changed files with 2 additions and 0 deletions
|
@ -1432,6 +1432,8 @@ void Commands::Process(int32 index, EQ2_16BitString* command_parms, Client* clie
|
|||
item->save_needed = true;
|
||||
client->QueuePacket(item->serialize(client->GetVersion(), false, client->GetPlayer()));
|
||||
}
|
||||
else
|
||||
LogWrite(PLAYER__ERROR, 0, "Command", "%s: Item %s (%i) attempted to be used, however display_charges is 0.", client->GetPlayer()->GetName(), item->name.c_str(), item->details.item_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue