This commit is contained in:
BetaSteward 2010-04-11 19:52:34 +00:00
parent 058af9a48e
commit cbb37e7933
126 changed files with 3253 additions and 911 deletions

View file

@ -67,7 +67,7 @@ public class ContinuousEffects implements Serializable {
public void removeInactiveEffects(Game game) {
for (Iterator<ContinuousEffect> i = effects.iterator(); i.hasNext();) {
ContinuousEffect entry = i.next();
if (entry.getDuration() == Duration.WhileInPlay) {
if (entry.getDuration() == Duration.WhileOnBattlefield) {
Permanent permanent = (Permanent)game.getPermanent(entry.getSource().getSourceId());
if (permanent == null || !permanent.isPhasedIn())
i.remove();