fix [OTJ] Hollow Marauder discard (#12255)

fixes #12254
This commit is contained in:
grimreap124 2024-05-18 21:13:55 +10:00 committed by GitHub
parent 1247cb204b
commit 4fabc4c70e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,7 +86,7 @@ class HollowMarauderEffect extends OneShotEffect {
public boolean apply(Game game, Ability source) {
int count = 0;
for (UUID targetId : getTargetPointer().getTargets(game, source)) {
Player opponent = game.getPlayer(source.getControllerId());
Player opponent = game.getPlayer(targetId);
if (opponent == null) {
continue;
}