private void pickUp(Command command)//Zaq: New use method that calls for an item to be used using an overidden/overloaded item use() function called from inventory
    {
        String item = command.getSecondWord();
        Item getThis = i1.getItem(item);

        if(!command.hasSecondWord()) 
        {
            // if there is no second word, we don't know what to use...
            System.out.println("Get what?");
            return;
        }
        if(!(getThis instanceof Item))
        {
            System.out.println("You can't get that!");
        }
        else
        {
            try
            {
                getThis.setQuantity(getThis.getQuantity()+currentRoom.getItemsInRoom(item).getQuantity());
                System.out.println("You got "+currentRoom.getItemsInRoom(item).getQuantity()+" "+item);
                currentRoom.removeItemFromRoom(item);
            }
            catch(NullPointerException e)
            {
                System.out.println("You can't get that!");
                return;
            }
        }
    }