This commit is contained in:
BetaSteward 2010-04-11 22:28:51 +00:00
parent efdceacaf6
commit a9a0075768
15 changed files with 257 additions and 259 deletions

View file

@ -35,6 +35,7 @@ import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import mage.game.Game;
import mage.server.Main;
import mage.util.Logging;
/**
@ -68,7 +69,6 @@ public class GameFactory {
logger.info("Game created: " + game.getId().toString());
return game;
}
public Set<String> getGameTypes() {
@ -76,7 +76,8 @@ public class GameFactory {
}
public void addGameType(String name, Class gameType) {
this.gameTypes.put(name, gameType);
if (gameType != null)
this.gameTypes.put(name, gameType);
}
}