Merge pull request #78 from Valorith/codex/groundspawn-charge-desync-fix

[Bug Fix] Fix groundspawn Pickup Desync and Boost header linkage
This commit is contained in:
Vayle
2026-03-18 23:09:02 -04:00
committed by GitHub
+3 -1
View File
@@ -4652,7 +4652,9 @@ uint16 EntityList::CreateGroundObject(uint32 item_id, const glm::vec4& position,
return 0; return 0;
} }
auto inst = new EQ::ItemInstance(is, is->MaxCharges); // Route through the shared item factory so stackables and unlimited-use items
// get the same charge normalization as other item creation paths.
auto inst = database.CreateItem(item_id, is->MaxCharges);
if (!inst) { if (!inst) {
return 0; return 0;
} }