mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Fix issue with Phasing
This commit is contained in:
@@ -253,7 +253,7 @@ public class PlayerView extends GameEntityView {
|
|||||||
void updateZone(PlayerZone zone) {
|
void updateZone(PlayerZone zone) {
|
||||||
TrackableProperty prop = getZoneProp(zone.getZoneType());
|
TrackableProperty prop = getZoneProp(zone.getZoneType());
|
||||||
if (prop == null) { return; }
|
if (prop == null) { return; }
|
||||||
set(prop, CardView.getCollection(zone.getCards()));
|
set(prop, CardView.getCollection(zone.getCards(false)));
|
||||||
|
|
||||||
//update flashback zone when graveyard, library, or exile zones updated
|
//update flashback zone when graveyard, library, or exile zones updated
|
||||||
switch (zone.getZoneType()) {
|
switch (zone.getZoneType()) {
|
||||||
|
|||||||
@@ -110,7 +110,6 @@ public class PlayerZoneBattlefield extends PlayerZone {
|
|||||||
for (Card c : cards) {
|
for (Card c : cards) {
|
||||||
if (!c.isPhasedOut()) {
|
if (!c.isPhasedOut()) {
|
||||||
filteredCollection.add(c);
|
filteredCollection.add(c);
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cards = filteredCollection;
|
cards = filteredCollection;
|
||||||
|
|||||||
Reference in New Issue
Block a user