forked from External/mage
Replaced .size() == 0 with .isEmpty().
This commit is contained in:
parent
38094420bb
commit
b0f7eea39e
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ public class DeclareAttackersStep extends Step<DeclareAttackersStep> {
|
|||
|
||||
@Override
|
||||
public boolean skipStep(Game game, UUID activePlayerId) {
|
||||
if (game.getPlayer(activePlayerId).getAvailableAttackers(game).size() == 0)
|
||||
if (game.getPlayer(activePlayerId).getAvailableAttackers(game).isEmpty())
|
||||
return true;
|
||||
return super.skipStep(game, activePlayerId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue