mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
tiny optimization
This commit is contained in:
@@ -125,7 +125,7 @@ public class FloatingZone extends FloatingCardArea {
|
||||
protected Iterable<CardView> getCards() {
|
||||
Iterable<CardView> zoneCards = player.getCards(zone);
|
||||
if ( zoneCards != null ) {
|
||||
cardList = new FCollection<CardView>(player.getCards(zone));
|
||||
cardList = new FCollection<CardView>(zoneCards);
|
||||
if ( sortedByName ) {
|
||||
Collections.sort(cardList, comp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user