Fix Precursor Golem (#7924)

This commit is contained in:
ciaccona007 2021-06-21 10:45:51 -06:00 committed by GitHub
parent 65b40bfb53
commit 83af7359b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ class PrecursorGolemCopySpellEffect extends CopySpellForEachItCouldTargetEffect
@Override
protected List<MageObjectReferencePredicate> getPossibleTargets(StackObject stackObject, Player player, Ability source, Game game) {
Permanent permanent = (Permanent) getValue("targetedGolem");
Permanent permanent = game.getPermanent((UUID) getValue("targetedGolem"));
return game.getBattlefield()
.getActivePermanents(
filter, player.getId(), source.getSourceId(), game