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

@ -461,7 +461,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
@Override
public boolean putOntoBattlefield(Game game, Zone fromZone, UUID sourceId, UUID controllerId, boolean tapped, boolean facedown, ArrayList<UUID> appliedEffects) {
ZoneChangeEvent event = new ZoneChangeEvent(this.objectId, sourceId, controllerId, fromZone, Zone.BATTLEFIELD, appliedEffects, tapped);
ZoneChangeEvent event = new ZoneChangeEvent(this.objectId, sourceId, controllerId, fromZone, Zone.BATTLEFIELD, appliedEffects);
if (facedown) {
this.setFaceDown(true, game);
}