public PlayerLootedNumberOfItemsCondition(int number,String... item){
  this.number=number;
  items=new LinkedList<String>();
  if (item != null) {
    for (    String string : item) {
      items.add(string);
    }
  }
}

public PlayerLootedNumberOfItemsCondition ( int number , String ... item ) { this . number = number ; items = new LinkedList < String > ( ) ; if ( item != null ) { for ( String string : item ) { items . add ( string ) ; } } }
create a new playerlootednumberofitemscondition
