mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
[Code] EQEmuLogSys Global to Singleton Cleanup (#4925)
* [Code] EQEmuLogSys Global to Singleton Cleanup * Post merge fix
This commit is contained in:
+2
-2
@@ -688,7 +688,7 @@ void Client::DropItem(int16 slot_id, bool recurse)
|
||||
LogInventory("Error in InventoryProfile::CheckNoDrop() - returned 'true' for empty slot");
|
||||
}
|
||||
else {
|
||||
if (LogSys.log_settings[Logs::Inventory].is_category_enabled) {
|
||||
if (EQEmuLogSys::Instance()->log_settings[Logs::Inventory].is_category_enabled) {
|
||||
LogInventory("DropItem() Hack detected - full item parse:");
|
||||
LogInventory("depth: 0, Item: [{}] (id: [{}]), IsDroppable: [{}]",
|
||||
(invalid_drop->GetItem() ? invalid_drop->GetItem()->Name : "null data"), invalid_drop->GetID(), (invalid_drop->IsDroppable(false) ? "true" : "false"));
|
||||
@@ -720,7 +720,7 @@ void Client::DropItem(int16 slot_id, bool recurse)
|
||||
// Take control of item in client inventory
|
||||
auto* inst = m_inv.PopItem(slot_id);
|
||||
if (inst) {
|
||||
if (LogSys.log_settings[Logs::Inventory].is_category_enabled) {
|
||||
if (EQEmuLogSys::Instance()->log_settings[Logs::Inventory].is_category_enabled) {
|
||||
LogInventory("DropItem() Processing - full item parse:");
|
||||
LogInventory(
|
||||
"depth: 0, Item: [{}] (id: [{}]), IsDroppable: [{}]",
|
||||
|
||||
Reference in New Issue
Block a user