mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00: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…
Reference in a new issue