[CMR] fixed Gor Muldrak, Amphinologist not working correctly when a player controls no creatures (fixes #7545)

This commit is contained in:
Evan Kranzler 2021-02-10 16:07:07 -05:00
parent 06a25b6d10
commit 4d20cb19cf

View file

@ -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,