fixed several cards which use an invalid UUID to find a player

This commit is contained in:
Evan Kranzler 2021-04-30 08:39:54 -04:00
parent 77d792bbaf
commit ed759d7a63
7 changed files with 7 additions and 7 deletions

View file

@ -30,7 +30,7 @@ public class ReturnToHandAttachedEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Player player = game.getPlayer(source.getSourceId());
Player player = game.getPlayer(source.getControllerId());
Permanent permanent = (Permanent) getValue("attachedTo");
if (player == null || permanent == null) {
return false;