From 4bc73ecb6a739e19b2cd6ba81a89e73d34a2b685 Mon Sep 17 00:00:00 2001 From: Vayle <76063792+Valorith@users.noreply.github.com> Date: Wed, 18 Mar 2026 22:34:15 -0400 Subject: [PATCH] Fix scripted ground object item normalization --- zone/entity.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zone/entity.cpp b/zone/entity.cpp index e6586a325..c1a7e1796 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -4652,7 +4652,9 @@ uint16 EntityList::CreateGroundObject(uint32 item_id, const glm::vec4& position, 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) { return 0; }