fixed Joust causing your creature to fight itself

This commit is contained in:
Evan Kranzler 2019-09-22 19:11:55 -04:00
parent 71aab17858
commit d888d81209

View file

@ -70,7 +70,7 @@ class JoustEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent creature1 = game.getPermanent(source.getTargets().get(0).getFirstTarget());
Permanent creature2 = game.getPermanent(source.getTargets().get(0).getFirstTarget());
Permanent creature2 = game.getPermanent(source.getTargets().get(1).getFirstTarget());
if (creature1 == null) {
return false;
}