public PlayerMinedNumberOfItemsCondition(int number,String... items){
  itemMinedList=new ArrayList<String>();
  if (items != null) {
    for (    String item : items) {
      itemMinedList.add(item);
    }
  }
  quantity=number;
}

public PlayerMinedNumberOfItemsCondition ( int number , String ... items ) { itemMinedList = new ArrayList < String > ( ) ; if ( items != null ) { for ( String item : items ) { itemMinedList . add ( item ) ; } } quantity = number ; }
create a new playerminednumberofitemscondition
