fixed Tinybones, Trinket Thief not causing opponents to lose life (#6677)

This commit is contained in:
Evan Kranzler 2020-06-22 22:37:11 -04:00
parent 1224f0621f
commit b9e93a5da2

View file

@ -116,7 +116,7 @@ class TinybonesTrinketThiefEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
for (UUID playerId : game.getOpponents(source.getControllerId())) {
Player player = game.getPlayer(source.getControllerId());
Player player = game.getPlayer(playerId);
if (player != null && player.getHand().isEmpty()) {
player.loseLife(10, game, false);
}