mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08: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) {
|
protected List<Permanent> getOpponentBlockers(UUID opponentId, Game game) {
|
||||||
FilterCreatureForCombatBlock blockFilter = new FilterCreatureForCombatBlock();
|
FilterCreatureForCombatBlock blockFilter = new FilterCreatureForCombatBlock();
|
||||||
List<Permanent> blockers = game.getBattlefield().getAllActivePermanents(blockFilter, opponentId, game);
|
return game.getBattlefield().getAllActivePermanents(blockFilter, opponentId, game);
|
||||||
return blockers;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected CombatSimulator simulateAttack(Attackers attackers, List<Permanent> blockers, UUID opponentId, Game game) {
|
protected CombatSimulator simulateAttack(Attackers attackers, List<Permanent> blockers, UUID opponentId, Game game) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue