mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
Refactor: Remove Redundant Variable Assignment in getPlayableObjects (#9309)
This commit is contained in:
parent
9843f38c40
commit
97b34e3129
1 changed files with 1 additions and 4 deletions
|
|
@ -4167,10 +4167,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// collect stats
|
||||
PlayableObjectsList playableObjectsList = new PlayableObjectsList(playableObjects);
|
||||
return playableObjectsList;
|
||||
return new PlayableObjectsList(playableObjects);
|
||||
}
|
||||
|
||||
private void putToPlayableObjects(Map<UUID, List<ActivatedAbility>> playableObjects, UUID objectId, ActivatedAbility ability) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue