all tests passing and satisfied with minimal changes; ready to merge

This commit is contained in:
Kevin Shin 2018-08-25 23:24:01 -05:00
parent 3ffd812bc6
commit 7d2ba0cf2e
2 changed files with 5 additions and 8 deletions

View file

@ -1980,10 +1980,9 @@ public abstract class GameImpl implements Game, Serializable {
// handle bestow unattachment
Card card = this.getCard(perm.getId());
if (card != null && card.isCreature()) {
//TODO: cleanup
UUID wasAttachedTo = perm.getAttachedTo();
perm.attachTo(null, this);
BestowAbility.becomeCreature(perm, this);
//BestowAbility.becomeCreature(perm, this);
fireEvent(new GameEvent(GameEvent.EventType.UNATTACHED, wasAttachedTo, perm.getId(), perm.getControllerId()));
} else if (movePermanentToGraveyardWithInfo(perm)) {
somethingHappened = true;