This commit is contained in:
2024-12-13 10:22:01 +01:00
parent 56c66b33b7
commit 61e8ba14ca
2 changed files with 2 additions and 2 deletions
@@ -39,7 +39,7 @@ object InviteCommand: SWCommand("invite") {
message
.send("INVITED", target, message.parse("INVITED_HOVER", target, team.name.colorByTeam(team)),
ClickEvent(ClickEvent.Action.RUN_COMMAND, "/accept "), sender.name, team.name.colorByTeam(team), )
ClickEvent(ClickEvent.Action.RUN_COMMAND, "/accept " + sender.name), sender.name, team.name.colorByTeam(team), )
message.send("INVITED_PLAYER", sender, target.name)
}
@@ -105,6 +105,6 @@ fun ConfigurationSection.getWorldLocation(s: String, default: Location? = null):
return Location(
plugin.server.worlds.first(),
x, y, z,
pitch.toFloat(), yaw.toFloat()
yaw.toFloat(), pitch.toFloat()
)
}