forked from External/mage
rewrote singleton to enum where applicable
This commit is contained in:
parent
3b62489ef5
commit
234cfe9519
872 changed files with 1796 additions and 2135 deletions
|
|
@ -41,16 +41,16 @@ import mage.players.Player;
|
|||
*/
|
||||
public class CommanderInPlayCondition implements Condition {
|
||||
|
||||
private static CommanderInPlayCondition fInstance = null;
|
||||
private static CommanderInPlayCondition instance = null;
|
||||
|
||||
private CommanderInPlayCondition() {
|
||||
}
|
||||
|
||||
public static Condition getInstance() {
|
||||
if (fInstance == null) {
|
||||
fInstance = new CommanderInPlayCondition();
|
||||
if (instance == null) {
|
||||
instance = new CommanderInPlayCondition();
|
||||
}
|
||||
return fInstance;
|
||||
return instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue