mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-27 16:02:32 +00:00
Properly handle tphere requests so the right user is in control/charged.
This commit is contained in:
parent
aa7f49cb85
commit
fbc0f13b2b
3 changed files with 63 additions and 18 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue