mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Refactor: Remove redundant 'blockers' variable declaration (#9167)
This commit is contained in:
parent
7bb851e0a5
commit
3f96f243b2
1 changed files with 1 additions and 2 deletions
|
@ -2592,8 +2592,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
|
||||
protected List<Permanent> getOpponentBlockers(UUID opponentId, Game game) {
|
||||
FilterCreatureForCombatBlock blockFilter = new FilterCreatureForCombatBlock();
|
||||
List<Permanent> blockers = game.getBattlefield().getAllActivePermanents(blockFilter, opponentId, game);
|
||||
return blockers;
|
||||
return game.getBattlefield().getAllActivePermanents(blockFilter, opponentId, game);
|
||||
}
|
||||
|
||||
protected CombatSimulator simulateAttack(Attackers attackers, List<Permanent> blockers, UUID opponentId, Game game) {
|
||||
|
|
Loading…
Reference in a new issue