* Oathbreaker format - Fixed endless loop on match init (#6695).

This commit is contained in:
LevelX2 2020-06-22 17:44:59 +02:00
parent cb7c787c37
commit 16adeadd8e

View file

@ -122,7 +122,7 @@ public class OathbreakerFreeForAll extends GameCommanderImpl {
if (player != null) {
Set<UUID> commanders = this.playerOathbreakers.getOrDefault(player.getId(), new HashSet<>());
Set<UUID> spells = this.playerSignatureSpells.getOrDefault(player.getId(), new HashSet<>());
for (UUID commanderId : getCommandersIds(player, commanderCardType)) {
for (UUID commanderId : super.getCommandersIds(player, commanderCardType)) {
switch (commanderCardType) {
case ANY:
res.add(commanderId);