Some bugfixes

This commit is contained in:
Tim Düsterhus 2011-07-17 19:17:29 +02:00
parent b1724b3fe3
commit 92bd84da75
2 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ import com.tommytony.war.Warzone;
import com.tommytony.war.ZoneLobby;
public abstract class AbstractWarzoneCommand extends AbstractWarCommand {
protected Warzone zone = null;
public AbstractWarzoneCommand(WarCommandHandler handler, CommandSender sender, String[] args) {
super(handler, sender, args);
}

View File

@ -23,7 +23,7 @@ public class TeamsCommand extends AbstractWarzoneCommand {
zone = this.getWarzoneFromLocation((Player) this.sender);
}
if (zone == null) {
return false;
return true;
}
// zone.getTeams();
return true;