Minor fix

This commit is contained in:
Zzooouhh 2018-01-02 16:44:31 +01:00 committed by GitHub
parent 050a70b7db
commit 988076b93c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ class AutumnWillowEffect extends AsThoughEffectImpl {
if (affectedControllerId.equals(source.getFirstTarget())) {
Permanent creature = game.getPermanent(sourceId);
if (creature != null) {
if (sourceId == source.getSourceId()) {
if (sourceId.equals(source.getSourceId())) {
return true;
}
}