mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-06-25 06:09:51 +00:00
fix: large inventories and inspect not printing objectID (#1824)
This commit is contained in:
parent
8ba35be64d
commit
3c244cce27
@ -158,6 +158,10 @@ void GameMessageHandler::HandleMessage(RakNet::BitStream& inStream, const System
|
|||||||
|
|
||||||
inv->AddItemSkills(item.lot);
|
inv->AddItemSkills(item.lot);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fixes a bug where testmapping too fast causes large item inventories to become invisible.
|
||||||
|
// Only affects item inventory
|
||||||
|
GameMessages::SendSetInventorySize(entity, eInventoryType::ITEMS, inv->GetInventory(eInventoryType::ITEMS)->GetSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
GameMessages::SendRestoreToPostLoadStats(entity, sysAddr);
|
GameMessages::SendRestoreToPostLoadStats(entity, sysAddr);
|
||||||
|
@ -1514,6 +1514,7 @@ namespace DEVGMCommands {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!closest) return;
|
if (!closest) return;
|
||||||
|
LOG("%llu", closest->GetObjectID());
|
||||||
|
|
||||||
Game::entityManager->SerializeEntity(closest);
|
Game::entityManager->SerializeEntity(closest);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user