Commit 6e9df14e authored by Linus K.'s avatar Linus K.
Browse files

Fix tpa message to wrong player

parent de74c639
Pipeline #118 failed with stage
in 38 seconds
......@@ -35,8 +35,8 @@ class TpaCommand: CommandExecutor {
val req = TpaRequest(sender, requested, System.currentTimeMillis() + REQUEST_DURATION)
REQUESTS.add(req)
sender.sendMessage("${Plugin.prefix} §6Teleport request sent to §c${requested.name}§6.")
sender.sendMessage("${Plugin.prefix} §e${sender.name}§6 requested to teleport to you.")
sender.sendMessage("${Plugin.prefix} §6You can accept this with §c/tpaccept §a or deny it with §c/tpdeny§a.")
requested.sendMessage("${Plugin.prefix} §e${sender.name}§6 requested to teleport to you.")
requested.sendMessage("${Plugin.prefix} §6You can accept this with §c/tpaccept §a or deny it with §c/tpdeny§a.")
return true
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment