Commit graph

1 commit

Author SHA1 Message Date
570552c7d5 fix(objectdb): dedupe m_items by name hash before UpdateRegisters
Joining a server after v1.4.0 threw "An item with the same key has
already been added" in ObjectDB.UpdateRegisters and bounced the
player back to the start menu. Rather than guess the exact colliding
prefab offline, this strips any duplicate-hash entries from m_items
right before the vanilla rebuild runs and logs their names, so the
join no longer crashes and the log now names the actual offender.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-07 18:26:00 +02:00