1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-11 17:00:08 -09:00

* Aftermath - Fixed a bug that caused problems with zone check.

This commit is contained in:
LevelX2 2017-04-25 21:29:21 +02:00
parent bb4714eb32
commit 24b99216f8

View file

@ -105,7 +105,7 @@ class AftermathCastFromGraveyard extends AsThoughEffectImpl {
@Override
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
if (objectId.equals(source.getSourceId())
& affectedControllerId.equals(source.getControllerId())) {
&& affectedControllerId.equals(source.getControllerId())) {
Card card = game.getCard(source.getSourceId());
if (card != null && game.getState().getZone(source.getSourceId()) == Zone.GRAVEYARD) {
return true;