mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-04 06:32:00 +00:00 
			
		
		
		
	fix: large inventories and inspect not printing objectID (#1824)
This commit is contained in:
		@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user