Commit 9ab35769 authored by Ryan Wiedemann's avatar Ryan Wiedemann

fix restricted cards not being restricted to one.

parent a2da91eb
......@@ -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