Personal links set a destination for annoying cruft reasons. Easier to

ignore it when someone is generating a personal dim than fix that.
This commit is contained in:
CannibalVox 2015-03-11 08:22:24 -05:00
parent ec180f46f0
commit 6907350f00

View file

@ -286,7 +286,7 @@ public class PocketBuilder
{
throw new IllegalArgumentException("properties cannot be null.");
}
if (link.hasDestination())
if (link.linkType() != LinkType.PERSONAL && link.hasDestination())
{
throw new IllegalArgumentException("link cannot have a destination assigned already.");
}