mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 21:47:24 +00:00
removed debug logs
This commit is contained in:
parent
18fc01cd49
commit
dc770299d1
@ -284,7 +284,6 @@ void InventoryComponent::AddItem(
|
|||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Game::logger->Log("InventoryComponent", "new item with source %i\n", lootSourceType);
|
|
||||||
auto* item = new Item(lot, inventory, slot, size, {}, parent, showFlyingLoot, isModMoveAndEquip, subKey, false, lootSourceType);
|
auto* item = new Item(lot, inventory, slot, size, {}, parent, showFlyingLoot, isModMoveAndEquip, subKey, false, lootSourceType);
|
||||||
|
|
||||||
isModMoveAndEquip = false;
|
isModMoveAndEquip = false;
|
||||||
|
@ -423,7 +423,6 @@ void GameMessages::SendAddItemToInventoryClientSync(Entity* entity, const System
|
|||||||
|
|
||||||
bitStream.Write(lootSourceType != eLootSourceType::LOOT_SOURCE_NONE); // Loot source
|
bitStream.Write(lootSourceType != eLootSourceType::LOOT_SOURCE_NONE); // Loot source
|
||||||
if (lootSourceType != eLootSourceType::LOOT_SOURCE_NONE) bitStream.Write(lootSourceType);
|
if (lootSourceType != eLootSourceType::LOOT_SOURCE_NONE) bitStream.Write(lootSourceType);
|
||||||
Game::logger->Log("GameMessages", "lootSource %i\n", lootSourceType);
|
|
||||||
LWONameValue extraInfo;
|
LWONameValue extraInfo;
|
||||||
|
|
||||||
auto config = item->GetConfig();
|
auto config = item->GetConfig();
|
||||||
|
@ -81,7 +81,6 @@ Item::Item(
|
|||||||
inventory->AddManagedItem(this);
|
inventory->AddManagedItem(this);
|
||||||
|
|
||||||
auto* entity = inventory->GetComponent()->GetParent();
|
auto* entity = inventory->GetComponent()->GetParent();
|
||||||
Game::logger->Log("test", "source %i\n", lootSourceType);
|
|
||||||
GameMessages::SendAddItemToInventoryClientSync(entity, entity->GetSystemAddress(), this, id, showFlyingLoot, static_cast<int>(this->count), subKey, lootSourceType);
|
GameMessages::SendAddItemToInventoryClientSync(entity, entity->GetSystemAddress(), this, id, showFlyingLoot, static_cast<int>(this->count), subKey, lootSourceType);
|
||||||
|
|
||||||
if (isModMoveAndEquip)
|
if (isModMoveAndEquip)
|
||||||
|
Loading…
Reference in New Issue
Block a user