forked from External/mage
* Release Mage 1.1.0 final
This commit is contained in:
parent
dabcc50fb6
commit
d6c1075125
7 changed files with 97 additions and 41 deletions
|
|
@ -33,9 +33,12 @@ import java.util.Map;
|
|||
import java.util.prefs.Preferences;
|
||||
import mage.client.MageFrame;
|
||||
import mage.view.GameView;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
public class PhaseManager {
|
||||
|
||||
private static final Logger logger = Logger.getLogger(PhaseManager.class);
|
||||
|
||||
private static final PhaseManager fInstance = new PhaseManager();
|
||||
|
||||
public static String DEFAULT_PLAYER_NAME = "player";
|
||||
|
|
@ -101,6 +104,8 @@ public class PhaseManager {
|
|||
if (prefKey != null) {
|
||||
String prop = prefs.get(prefKey, PHASE_ON);
|
||||
return !prop.equals(PHASE_ON);
|
||||
} else {
|
||||
logger.warn(new StringBuilder("Message not found: ").append(message));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue