Bug - Fixed Fix for to_familiar()

slyz

Developer
Following a recent discussion in the Wossname.ash thread:
Code:
> ash to_familiar("");

Returned: Adorable Seal Larva

I think lines 415-418 of DataTypes.java, in the parseFamiliarValue() function, should be changed to:
PHP:
if ( name.equalsIgnoreCase( "none" ) || name.equals( "" ) )
{
	return DataTypes.FAMILIAR_INIT;
}
so it has the same behavior as the other parseXValue( string name ) functions that will find a match if name is a substring of the full name.
 
Top