rem warning,

force update of player-related into at end of phase.
This commit is contained in:
Maxmtg
2012-11-04 15:59:22 +00:00
parent 63137c37fb
commit 514f575931
2 changed files with 1 additions and 21 deletions

View File

@@ -1,7 +1,6 @@
package forge.card.abilityfactory.effects;
import forge.Card;
import forge.card.abilityfactory.AbilityFactory;
import forge.card.abilityfactory.SpellEffect;
import forge.card.cardfactory.CardFactoryUtil;
import forge.card.spellability.SpellAbility;

View File

@@ -71,11 +71,6 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
/** The need to next phase. */
private boolean isPlayerPriorityAllowed = false;
// This should only be true four times! that is for the initial nextPhases
// in MyObservable
/** The need to next phase init. */
private int needToNextPhaseInit = 0;
private final GameState game;
public PhaseHandler(final GameState game0)
@@ -428,6 +423,7 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
if (Singletons.getModel().getPreferences().getPrefBoolean(FPref.UI_MANABURN)) {
p.loseLife(burn, null);
}
p.updateObservers();
}
switch (this.phase) {
@@ -746,21 +742,6 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
return this.isPlayerPriorityAllowed;
}
/**
* <p>
* isNeedToNextPhaseInit.
* </p>
*
* @return a boolean.
*/
public final boolean isNeedToNextPhaseInit() {
this.needToNextPhaseInit++;
if (this.needToNextPhaseInit <= 4) {
return true;
}
return false;
}
// this is a hack for the setup game state mode, do not use outside of
// devSetupGameState code
// as it avoids calling any of the phase effects that may be necessary in a