|
@@ -407,8 +407,8 @@ void Inventory::localTransaction( Array< ItemSlot* >* zSourceSlots, Array< ItemS
|
|
|
ItemStack* stack = sourceSlot->takeItemsOut( number, NO_DIRECTION );
|
|
|
if( stack )
|
|
|
{
|
|
|
- updateCache( sourceSlot, targetSlot->zStack()->zItem()->zItemType()->getId() );
|
|
|
targetSlot->addItems( stack, NO_DIRECTION );
|
|
|
+ updateCache( sourceSlot, targetSlot->zStack()->zItem()->zItemType()->getId() );
|
|
|
updateCache( targetSlot, targetSlot->zStack()->zItem()->zItemType()->getId() );
|
|
|
if( stack->getSize() )
|
|
|
{
|