forked from External/mage
* [MIC] Celestial Judgment - fixed game error on usage
This commit is contained in:
parent
914cfc1d3a
commit
2f6fa8610b
1 changed files with 5 additions and 3 deletions
|
|
@ -74,10 +74,12 @@ class CelestialJudgmentEffect extends OneShotEffect {
|
|||
.stream()
|
||||
.collect(Collectors.toMap(
|
||||
permanent -> permanent.getPower().getValue(),
|
||||
permanent -> Arrays.asList(permanent),
|
||||
Arrays::asList,
|
||||
(a1, a2) -> {
|
||||
a1.addAll(a2);
|
||||
return a1;
|
||||
List<Permanent> res = new ArrayList<>();
|
||||
res.addAll(a1);
|
||||
res.addAll(a2);
|
||||
return res;
|
||||
}));
|
||||
Set<UUID> toKeep = new HashSet<>();
|
||||
for (Map.Entry<Integer, List<Permanent>> entry : powerMap.entrySet()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue