mirror of
https://github.com/taoneill/war.git
synced 2025-02-23 06:41:20 +01:00
Some bugfixes
This commit is contained in:
parent
b1724b3fe3
commit
92bd84da75
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user