fixed battlebond land implementation

This commit is contained in:
Evan Kranzler 2018-05-18 12:04:24 -04:00
parent 54bd43b4f6
commit 082adcfc75
6 changed files with 15 additions and 15 deletions

View file

@ -36,9 +36,9 @@ import java.util.UUID;
/**
*
* @author fireshoes
* @author TheElk801
*/
public enum TwoOrMoreOpponentsCondition implements Condition {
public enum OneOpponentCondition implements Condition {
instance;
@ -52,16 +52,16 @@ public enum TwoOrMoreOpponentsCondition implements Condition {
if (opponent != null) {
opponentCount++;
if (opponentCount > 1) {
return true;
return false;
}
}
}
}
return false;
return true;
}
@Override
public String toString() {
return "you have two or more opponents";
return "you have one opponent";
}
}