use setter instead of directly changing member variable

master
melvin 2011-06-04 17:39:39 +08:00
parent f7054c757b
commit 543f5bff7e
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ public class MagicGame {
public void changePhase(final MagicPhase phase) {
if (phase.getType() == MagicPhaseType.Untap && turnPlayer.getIndex() == 0) {
passPriority=false;
setPassPriority(false);
}
this.phase=phase;
step=MagicStep.Begin;