mirror of
https://github.com/taoneill/war.git
synced 2024-11-13 05:54:31 +01:00
Added '/war leave' to zone join message so that even people with HeroChat get some guidance on how to leave.
This commit is contained in:
parent
27584c51bb
commit
f56c5571dd
@ -88,7 +88,7 @@ public class JoinCommand extends AbstractWarCommand {
|
||||
if (team.getName().startsWith(name) || team.getKind() == kind) {
|
||||
if (!zone.hasPlayerInventory(player.getName())) {
|
||||
zone.keepPlayerInventory(player);
|
||||
this.msg("Your inventory is in storage until you /leave.");
|
||||
this.msg("Your inventory is in storage until you use '/war leave'.");
|
||||
}
|
||||
if (team.getPlayers().size() < zone.getTeamCap()) {
|
||||
team.addPlayer(player);
|
||||
|
@ -689,7 +689,7 @@ public class Warzone {
|
||||
if (!this.hasPlayerInventory(player.getName())) {
|
||||
this.keepPlayerInventory(player);
|
||||
}
|
||||
War.war.msg(player, "Your inventory is in storage until you /leave.");
|
||||
War.war.msg(player, "Your inventory is in storage until you use '/war leave'.");
|
||||
this.respawnPlayer(lowestNoOfPlayers, player);
|
||||
for (Team team : this.teams) {
|
||||
team.teamcast("" + player.getName() + " joined team " + lowestNoOfPlayers.getName() + ".");
|
||||
|
Loading…
Reference in New Issue
Block a user