- A couple tweaks to dev panel.

This commit is contained in:
Agetian
2017-09-06 15:40:07 +00:00
parent d73b3c44e3
commit a80b504379
2 changed files with 5 additions and 5 deletions

View File

@@ -94,12 +94,12 @@ public class VDev implements IVDoc<CDev>, IDevListener {
viewport.add(this.lblTutor, halfConstraints);
viewport.add(this.lblViewAll, halfConstraintsLeft);
viewport.add(this.lblUnlimitedLands, halfConstraints);
viewport.add(this.lblCardToHand, halfConstraintsLeft);
viewport.add(this.lblCardToBattlefield, halfConstraints);
viewport.add(this.lblCastSpell, halfConstraintsLeft);
viewport.add(this.lblCardToHand, halfConstraints);
viewport.add(this.lblCardToLibrary, halfConstraintsLeft);
viewport.add(this.lblCardToGraveyard, halfConstraints);
viewport.add(this.lblCardToExile, halfConstraintsLeft);
viewport.add(this.lblCastSpell, halfConstraints);
viewport.add(this.lblCardToBattlefield, halfConstraints);
viewport.add(this.lblRemoveFromGame, halfConstraintsLeft);
viewport.add(this.lblRepeatAddCard, halfConstraints);
viewport.add(this.lblExileFromHand, halfConstraintsLeft);

View File

@@ -2168,10 +2168,10 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
game.getAction().moveTo(targetZone, forgeCard, null);
} else {
if (noTriggers) {
if (forgeCard.isPermanent()) {
if (forgeCard.isPermanent() && !forgeCard.isAura()) {
game.getAction().moveTo(targetZone, forgeCard, null);
} else {
getGui().message("The chosen card is not a permanent.\nIf you'd like to cast a non-permanent spell, or if you'd like to cast a permanent spell (and place it on stack), please use the Cast Spell/Play Land button.", "Error");
getGui().message("The chosen card is not a permanent or can't exist independently on the battlefield.\nIf you'd like to cast a non-permanent spell, or if you'd like to cast a permanent spell and place it on stack, please use the Cast Spell/Play Land button.", "Error");
return;
}
} else {