Fix Bandit's Talent

This commit is contained in:
Steven Knipe 2024-08-22 14:25:35 -07:00
parent 00770646f8
commit 50940d6b4b

View file

@ -102,7 +102,7 @@ class BanditsTalentDiscardEffect extends OneShotEffect {
}
for (UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)) {
Player targetPlayer = game.getPlayer(playerId);
if (targetPlayer == null || targetPlayer.getHand().isEmpty()) {
if (targetPlayer == null || targetPlayer.getHand().isEmpty() || !controller.hasOpponent(playerId, game)) {
continue;
}