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
}
......
Supports Markdown
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

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte Frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close