Properly handle tphere requests so the right user is in control/charged.

This commit is contained in:
KHobbits 2012-09-29 23:34:46 +01:00
parent aa7f49cb85
commit fbc0f13b2b
3 changed files with 63 additions and 18 deletions

View file

@ -65,7 +65,7 @@ public class Commandtpaccept extends EssentialsCommand
if (user.isTpRequestHere())
{
user.getTeleport().teleport(target, charge, TeleportCause.COMMAND);
target.getTeleport().teleportToMe(user, charge, TeleportCause.COMMAND);
}
else
{