added override toString method for getting full name.

This commit is contained in:
Jadar 2014-01-06 10:25:13 -06:00
parent 5e4ddab6ba
commit 183c317b83

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);
}
}
/**