forked from External/mage
latest
This commit is contained in:
parent
058af9a48e
commit
cbb37e7933
126 changed files with 3253 additions and 911 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue