mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-06-24 13:49:56 +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);
|
||||
}
|
||||
|
||||
// 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);
|
||||
|
@ -1514,6 +1514,7 @@ namespace DEVGMCommands {
|
||||
}
|
||||
|
||||
if (!closest) return;
|
||||
LOG("%llu", closest->GetObjectID());
|
||||
|
||||
Game::entityManager->SerializeEntity(closest);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user