Make personal links always send players to their own personal dimension.
This commit is contained in:
parent
91f96c825c
commit
d91ad394cb
1 changed files with 702 additions and 701 deletions
|
@ -542,6 +542,7 @@ public class DDTeleporter
|
||||||
DimLink personalHomeLink = dim.getLink(dim.origin());
|
DimLink personalHomeLink = dim.getLink(dim.origin());
|
||||||
if(personalHomeLink!=null)
|
if(personalHomeLink!=null)
|
||||||
{
|
{
|
||||||
|
link.tail.setDestination(personalHomeLink.source());
|
||||||
PocketManager.getDimensionData(link.source().getDimension()).setLinkDestination(personalHomeLink, link.source().getX(), link.source().getY(), link.source().getZ());
|
PocketManager.getDimensionData(link.source().getDimension()).setLinkDestination(personalHomeLink, link.source().getX(), link.source().getY(), link.source().getZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue