Merge pull request #336 from jadar/master

added override toString method for getting full name.
This commit is contained in:
cpw 2014-01-09 11:54:54 -08:00
commit 6cdc949de7
1 changed files with 6 additions and 0 deletions

View File

@ -363,6 +363,12 @@ public class GameRegistry
final UniqueIdentifier other = (UniqueIdentifier) obj;
return Objects.equal(modId, other.modId) && Objects.equal(name, other.name);
}
@Override
public String toString()
{
return String.format("%s:%s", modId, name);
}
}
/**