Index: src/server/bulkobjects/pscharinventory.h===================================================================--- src/server/bulkobjects/pscharinventory.h (revision 5684)+++ src/server/bulkobjects/pscharinventory.h (working copy)@@ -169,7 +169,7 @@ * The item will be accessible only from storage npc. * @param item The item to be added to the storage. */- void AddStorageItem(psItem *item);+ void AddStorageItem(psItem *& item); /** Check to see if the player has the ability to carry and additional weight. * @param requiedWeight The amount of weight that we want to check.Index: src/server/bulkobjects/pscharinventory.cpp===================================================================--- src/server/bulkobjects/pscharinventory.cpp (revision 5684)+++ src/server/bulkobjects/pscharinventory.cpp (working copy)@@ -292,6 +292,8 @@ if (location == PSCHARACTER_SLOT_STORAGE) { AddStorageItem(item);//we have found a storage item so we store it in there.+ if (!item)+ continue; } else if (!AddLoadedItem(items[i].GetUInt32("parent_item_id"),location, item) ) {@@ -355,7 +357,7 @@ } }-void psCharacterInventory::AddStorageItem(psItem *item)+void psCharacterInventory::AddStorageItem(psItem *& item) { if (item->GetIsStackable()) {@@ -366,6 +368,7 @@ if (storedItem->CheckStackableWith(item, true, true)) // item fits completely { storedItem->CombineStack(item);+ item = NULL; return; } else if (storedItem->GetStackCount() != MAX_STACK_COUNT && storedItem->CheckStackableWith(item, true, false)) // item fits only partially