question: static PotionType fromName ( String name ) { for ( PotionTypeTable table : values ( ) ) { if ( name . equalsIgnoreCase ( table . name ) ) return table . type ; } return PotionType . valueOf ( name . toUpperCase ( ) ) ; }
target:  Converts a Vanilla Potion ID to an equivalent Bukkit PotionType