private void combineItems(Command command){
        if(!command.hasNthWord(3)){
            System.out.println("You need to combine more things");
        } else {
            String segment1 = command.getNthSegment(1);
            String segment2 = command.getNthSegment(2);
            if(rooms.get(currentRoom).getItem("brewery")!= null || (segment1.equals("brewery") ^ segment2.equals("brewery"))){
                if(segment1.equals("brewery") && brewery.needsItem(segment2) && bag.contains(segment2)){
                    brewery.throwInItem(bag.removeItem(segment2));
                    System.out.println("You throw the " + segment2 + " into the brewery and it bubbles slightly");
                } else if(segment2.equals("brewery") && brewery.needsItem(segment1) && bag.contains(segment1)){
                    brewery.throwInItem(bag.removeItem(segment1));
                    System.out.println("You throw the " + segment1 + " into the brewery and it bubbles slightly");
                } else {
                    System.out.println("You can't combine those");
                }
            } else {
                System.out.println("You can't combine those");
            }
        }
    }