mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Fix Mutate + Unexpectedly Absent (#6150)
This commit is contained in:
@@ -1064,7 +1064,6 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
|
||||
@Override
|
||||
public CardCollectionView orderMoveToZoneList(final CardCollectionView cards, final ZoneType destinationZone, final SpellAbility source) {
|
||||
boolean bottomOfLibrary = false;
|
||||
if (source == null || source.getApi() != ApiType.ReorderZone) {
|
||||
if (destinationZone == ZoneType.Graveyard) {
|
||||
switch (FModel.getPreferences().getPref(FPref.UI_ALLOW_ORDER_GRAVEYARD_WHEN_NEEDED)) {
|
||||
@@ -1087,17 +1086,14 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
}
|
||||
}
|
||||
|
||||
if (source != null) {
|
||||
if (source.hasParam("LibraryPosition")) {
|
||||
bottomOfLibrary = Integer.parseInt(source.getParam("LibraryPosition")) < 0;
|
||||
}
|
||||
}
|
||||
tempShowCards(cards);
|
||||
GameEntityViewMap<Card, CardView> gameCacheMove = GameEntityView.getMap(cards);
|
||||
List<CardView> choices = gameCacheMove.getTrackableKeys();
|
||||
|
||||
switch (destinationZone) {
|
||||
case Library:
|
||||
boolean bottomOfLibrary = (source != null && source.hasParam("LibraryPosition") ?
|
||||
AbilityUtils.calculateAmount(source.getHostCard(), source.getParam("LibraryPosition"), source) : 0) < 0;
|
||||
choices = getGui().order(localizer.getMessage("lblChooseOrderCardsPutIntoLibrary"), localizer.getMessage(bottomOfLibrary ? "lblClosestToBottom" : "lblClosestToTop"), choices, null);
|
||||
break;
|
||||
case Battlefield:
|
||||
|
||||
Reference in New Issue
Block a user