Add Battles for DeckEditor types

This commit is contained in:
friarsol
2023-04-16 22:19:20 -04:00
parent 41bf7461db
commit 245e828dd9
7 changed files with 12 additions and 2 deletions

View File

@@ -66,6 +66,8 @@ public class CardZoom extends FOverlay {
}
public static void show(final List<?> items0, int currentIndex0, ActivateHandler activateHandler0) {
if (items == null) { return; }
if (currentIndex0 < 0 || items.size() <= currentIndex0) { return; }
items = items0;
activateHandler = activateHandler0;
currentIndex = currentIndex0;