mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix (hopefully) attack icons on cards and a possible NPE.
This commit is contained in:
@@ -5,7 +5,6 @@ import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.commons.lang3.tuple.Pair;
|
||||
|
||||
@@ -391,7 +390,7 @@ public class GuiMobile implements IGuiBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateCards(Set<CardView> cardsToUpdate) {
|
||||
public void updateCards(Iterable<CardView> cardsToUpdate) {
|
||||
FControl.updateCards(cardsToUpdate);
|
||||
}
|
||||
|
||||
|
||||
@@ -446,7 +446,7 @@ public class FControl {
|
||||
}
|
||||
}
|
||||
|
||||
public static void updateCards(Set<CardView> cardsToUpdate) {
|
||||
public static void updateCards(Iterable<CardView> cardsToUpdate) {
|
||||
for (CardView c : cardsToUpdate) {
|
||||
updateSingleCard(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user