forked from SteamWar/SteamWar
Hotfix: SubMessage
This commit is contained in:
@@ -94,7 +94,7 @@ data class TNTLeagueTeam(val config: TNTLeagueWorldConfig.TeamConfig, private va
|
|||||||
teleport(config.spawnLocation)
|
teleport(config.spawnLocation)
|
||||||
gameMode = GameMode.ADVENTURE
|
gameMode = GameMode.ADVENTURE
|
||||||
inventory.clear()
|
inventory.clear()
|
||||||
message.broadcast("JOIN_TEAM", name.colorByTeam(this@TNTLeagueTeam), SubMessage(name))
|
message.broadcast("JOIN_TEAM", name.colorByTeam(this@TNTLeagueTeam), SubMessage(this@TNTLeagueTeam.name))
|
||||||
}
|
}
|
||||||
|
|
||||||
if (leader == null) {
|
if (leader == null) {
|
||||||
@@ -160,7 +160,7 @@ data class TNTLeagueTeam(val config: TNTLeagueWorldConfig.TeamConfig, private va
|
|||||||
teleport(TNTLeagueWorldConfig.lobby)
|
teleport(TNTLeagueWorldConfig.lobby)
|
||||||
gameMode = GameMode.SPECTATOR
|
gameMode = GameMode.SPECTATOR
|
||||||
inventory.clear()
|
inventory.clear()
|
||||||
message.broadcast("QUIT_TEAM", name.colorByTeam(this@TNTLeagueTeam), SubMessage(name))
|
message.broadcast("QUIT_TEAM", name.colorByTeam(this@TNTLeagueTeam), SubMessage(this@TNTLeagueTeam.name))
|
||||||
}
|
}
|
||||||
updateFightinfo()
|
updateFightinfo()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user