mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Fixed an occasionally broken orderMoveToZoneList (fixes Sensei's Divining Top).
This commit is contained in:
@@ -690,7 +690,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
|||||||
public CardCollectionView orderMoveToZoneList(final CardCollectionView cards, final ZoneType destinationZone, final SpellAbility source) {
|
public CardCollectionView orderMoveToZoneList(final CardCollectionView cards, final ZoneType destinationZone, final SpellAbility source) {
|
||||||
if (source == null || source.getApi() != ApiType.ReorderZone) {
|
if (source == null || source.getApi() != ApiType.ReorderZone) {
|
||||||
if (destinationZone == ZoneType.Graveyard
|
if (destinationZone == ZoneType.Graveyard
|
||||||
&& !FModel.getPreferences().getPrefBoolean(FPref.UI_ALLOW_ORDER_GRAVEYARD_WHEN_NEEDED) || !game.isGraveyardOrdered()) {
|
&& (!FModel.getPreferences().getPrefBoolean(FPref.UI_ALLOW_ORDER_GRAVEYARD_WHEN_NEEDED) || !game.isGraveyardOrdered())) {
|
||||||
// Ordering not necessary
|
// Ordering not necessary
|
||||||
return cards;
|
return cards;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user