added override toString method for getting full name.
This commit is contained in:
parent
5e4ddab6ba
commit
183c317b83
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue