small refactoring

This commit is contained in:
North 2011-10-04 22:35:49 +03:00
parent 4efc25802e
commit 32fc34f90d
3 changed files with 2 additions and 4 deletions

View file

@ -86,8 +86,8 @@ class JinGitaxiasCoreAugurEffect extends ContinuousEffectImpl<JinGitaxiasCoreAug
@Override
public boolean apply(Game game, Ability source) {
for (UUID id : game.getOpponents(source.getControllerId())) {
Player player = game.getPlayer(id);
for (UUID opponentId : game.getOpponents(source.getControllerId())) {
Player player = game.getPlayer(opponentId);
if (player != null) {
player.setMaxHandSize(player.getMaxHandSize() - 7);
}

View file

@ -29,7 +29,6 @@ package mage.abilities.condition.common;
import mage.abilities.Ability;
import mage.abilities.condition.Condition;
import mage.filter.common.FilterCreaturePermanent;
import mage.game.Game;
import mage.watchers.Watcher;

View file

@ -39,7 +39,6 @@ import mage.abilities.Abilities;
import mage.abilities.Ability;
import mage.abilities.SpellAbility;
import mage.abilities.costs.Cost;
import mage.abilities.costs.mana.KickerManaCost;
import mage.abilities.costs.mana.ManaCost;
import mage.abilities.costs.mana.ManaCosts;
import mage.abilities.effects.Effect;