mirror of
https://github.com/taoneill/war.git
synced 2024-11-23 18:55:28 +01:00
Bugfix
This commit is contained in:
parent
22e79c51f4
commit
5d19aec2b3
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user