diff --git a/src/main/java/controls/StepScheduler.java b/src/main/java/controls/StepScheduler.java index d6a3424..2800ffc 100644 --- a/src/main/java/controls/StepScheduler.java +++ b/src/main/java/controls/StepScheduler.java @@ -47,7 +47,8 @@ @Override public Map.Entry getTopCard() { - return null; + if(isDeckLess())return null; + return algo.getDeck().get(0); } public boolean isDeckLess(){