forked from SteamWar/SteamWar
Fixes
This commit is contained in:
@@ -39,7 +39,7 @@ object InviteCommand: SWCommand("invite") {
|
|||||||
|
|
||||||
message
|
message
|
||||||
.send("INVITED", target, message.parse("INVITED_HOVER", target, team.name.colorByTeam(team)),
|
.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)
|
message.send("INVITED_PLAYER", sender, target.name)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,6 +105,6 @@ fun ConfigurationSection.getWorldLocation(s: String, default: Location? = null):
|
|||||||
return Location(
|
return Location(
|
||||||
plugin.server.worlds.first(),
|
plugin.server.worlds.first(),
|
||||||
x, y, z,
|
x, y, z,
|
||||||
pitch.toFloat(), yaw.toFloat()
|
yaw.toFloat(), pitch.toFloat()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user