diff options
Diffstat (limited to 'source/frontend/StarContainerInterface.cpp')
-rw-r--r-- | source/frontend/StarContainerInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarContainerInterface.cpp b/source/frontend/StarContainerInterface.cpp index 6540dfb..d69138a 100644 --- a/source/frontend/StarContainerInterface.cpp +++ b/source/frontend/StarContainerInterface.cpp @@ -142,7 +142,7 @@ ContainerPane::ContainerPane(WorldClientPtr worldClient, PlayerPtr player, Conta if (container->iconItem()) { auto itemDatabase = Root::singleton().itemDatabase(); - auto iconItem = itemDatabase->item(container->iconItem()); + auto iconItem = itemDatabase->itemShared(container->iconItem()); auto icon = make_shared<ItemSlotWidget>(iconItem, "/interface/inventory/portrait.png"); icon->showDurability(false); icon->showRarity(false); |