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:
taoneill 2011-08-07 16:28:46 -04:00
parent 27584c51bb
commit f56c5571dd
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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() + ".");