BreakingPoint error fix;

This commit is contained in:
Marshall 2015-06-27 19:22:32 -04:00
parent ee1902a2cc
commit 8ff50ece31

View file

@ -97,7 +97,7 @@ class BreakingPointDestroyEffect extends OneShotEffect {
if(spell != null){
boolean destroyCreatures = true;
for(UUID playerId : game.getState().getPlayersInRange(controller.getId(), game)){
Player player = game.getPlayer(uuid);
Player player = game.getPlayer(playerId);
if(player != null && player.chooseUse(Outcome.Detriment, "Have " + spell.getLogName() + " deal 6 damage to you?", game)){
destroyCreatures = false;
player.damage(6, source.getSourceId(), game, false, true);