This commit is contained in:
Tim Düsterhus 2011-07-28 16:38:34 +02:00
parent 22e79c51f4
commit 5d19aec2b3

View File

@ -13,7 +13,7 @@ public abstract class AbstractZoneMakerCommand extends AbstractWarCommand {
public AbstractZoneMakerCommand(WarCommandHandler handler, CommandSender sender, String[] args) throws NoZoneMakerException {
super(handler, sender, args);
if (sender instanceof Player) {
if (War.war.isZoneMaker((Player) sender)) {
if (!War.war.isZoneMaker((Player) sender)) {
throw new NoZoneMakerException();
}
}