Clean up an inconsistency in ZoneChangeEvent handling

Some places set a bit on the ZoneChangeEvent if a permanent was meant
to enter the battlefield tapped but only MeldCard ever read that bit to
determine whether things should come into play tapped.
This commit is contained in:
Samuel Sandeen 2016-09-05 09:51:32 -04:00
parent c58ad022d7
commit db3c2e9d8c
5 changed files with 4 additions and 14 deletions

View file

@ -3179,7 +3179,7 @@ public abstract class PlayerImpl implements Player, Serializable {
if (faceDown) {
card.setFaceDown(true, game);
}
ZoneChangeEvent event = new ZoneChangeEvent(card.getId(), source.getSourceId(), controllingPlayerId, fromZone, Zone.BATTLEFIELD, appliedEffects, tapped);
ZoneChangeEvent event = new ZoneChangeEvent(card.getId(), source.getSourceId(), controllingPlayerId, fromZone, Zone.BATTLEFIELD, appliedEffects);
if (!game.replaceEvent(event)) {
// get permanent
Permanent permanent;