static PotionType fromName(String name){
  for (  PotionTypeTable table : values()) {
    if (name.equalsIgnoreCase(table.name))     return table.type;
  }
  return PotionType.valueOf(name.toUpperCase());
}

static PotionType fromName ( String name ) { for ( PotionTypeTable table : values ( ) ) { if ( name . equalsIgnoreCase ( table . name ) ) return table . type ; } return PotionType . valueOf ( name . toUpperCase ( ) ) ; }
converts a vanilla potion id to an equivalent bukkit potiontype
