diff --git a/TNTLeague/src/de/steamwar/tntleague/command/InviteCommand.kt b/TNTLeague/src/de/steamwar/tntleague/command/InviteCommand.kt index 87c8b790..feec0215 100644 --- a/TNTLeague/src/de/steamwar/tntleague/command/InviteCommand.kt +++ b/TNTLeague/src/de/steamwar/tntleague/command/InviteCommand.kt @@ -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) } diff --git a/TNTLeague/src/de/steamwar/tntleague/config/TNTLeagueWorldConfig.kt b/TNTLeague/src/de/steamwar/tntleague/config/TNTLeagueWorldConfig.kt index 81c314be..ae5054cd 100644 --- a/TNTLeague/src/de/steamwar/tntleague/config/TNTLeagueWorldConfig.kt +++ b/TNTLeague/src/de/steamwar/tntleague/config/TNTLeagueWorldConfig.kt @@ -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() ) }