Commit 78cee77b authored by swordshine's avatar swordshine

Merge branch 'fix_deckgen_restriction_bug' into 'master'

fix restricted cards not being restricted to one.

See merge request !2138
parents a2da91eb 9ab35769
......@@ -282,7 +282,7 @@ public class DeckgenUtil {
List<String> restrictedCardsAdded = new ArrayList<>();
for (PaperCard c:selectedCards){
if (format.getRestrictedCards().contains(c.getName())&&!restrictedCardsAdded.contains(c)){
if (format.getRestrictedCards().contains(c.getName())&&!restrictedCardsAdded.contains(c.getName())){
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment