mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
[CMR] fixed Gor Muldrak, Amphinologist not working correctly when a player controls no creatures (fixes #7545)
This commit is contained in:
parent
06a25b6d10
commit
4d20cb19cf
1 changed files with 4 additions and 0 deletions
|
@ -84,6 +84,10 @@ class GorMuldrakAmphinologistEffect extends OneShotEffect {
|
|||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Map<UUID, Integer> creatureMap = new HashMap<>();
|
||||
game.getState()
|
||||
.getPlayersInRange(source.getControllerId(), game)
|
||||
.stream()
|
||||
.forEach(uuid -> creatureMap.put(uuid, 0));
|
||||
game.getBattlefield()
|
||||
.getActivePermanents(
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE,
|
||||
|
|
Loading…
Reference in a new issue