mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
some small tweaks for CardList operations in some AbilityFactory files
This commit is contained in:
@@ -928,7 +928,7 @@ public class AbilityFactory_Counters {
|
||||
});
|
||||
|
||||
if (AF.getHostCard().getController().isHuman()) {
|
||||
cperms.addAll(hperms.toArray());
|
||||
cperms.addAll(hperms);
|
||||
final CardList unchosen = cperms;
|
||||
AllZone.InputControl.setInput(new Input() {
|
||||
private static final long serialVersionUID = -1779224307654698954L;
|
||||
|
||||
@@ -357,7 +357,7 @@ public class AbilityFactory_Reveal {
|
||||
}
|
||||
|
||||
//dump anything not selected from valid back into the rest
|
||||
if(!changeAll) rest.addAll(valid.toArray());
|
||||
if(!changeAll) rest.addAll(valid);
|
||||
if(rest.contains(dummy)) rest.remove(dummy);
|
||||
|
||||
//now, move the rest to destZone2
|
||||
|
||||
Reference in New Issue
Block a user