mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
* Removed logger output used for debug.
This commit is contained in:
parent
489518c1e0
commit
fb8c4fcbc3
2 changed files with 2 additions and 9 deletions
|
@ -90,7 +90,7 @@ import org.apache.log4j.Logger;
|
|||
*/
|
||||
public class GameController implements GameCallback {
|
||||
|
||||
private static ExecutorService gameExecutor = ThreadExecutor.getInstance().getGameExecutor();
|
||||
private static final ExecutorService gameExecutor = ThreadExecutor.getInstance().getGameExecutor();
|
||||
private static final Logger logger = Logger.getLogger(GameController.class);
|
||||
|
||||
private ConcurrentHashMap<UUID, GameSession> gameSessions = new ConcurrentHashMap<UUID, GameSession>();
|
||||
|
@ -689,7 +689,6 @@ public class GameController implements GameCallback {
|
|||
@Override
|
||||
public void gameResult(String result) {
|
||||
try {
|
||||
logger.warn("Game Result: " + result);
|
||||
endGame(result);
|
||||
} catch (MageException ex) {
|
||||
logger.fatal("Game Result error", ex);
|
||||
|
|
|
@ -127,13 +127,7 @@ public class GameWatcher {
|
|||
}
|
||||
|
||||
public GameView getGameView() {
|
||||
logger.warn("start getGameView");
|
||||
GameState gameState = game.getState();
|
||||
logger.warn("start afterState");
|
||||
GameView gameView = new GameView(gameState, game, this.isPlayer);
|
||||
// return new GameView(game.getState(), game, this.isPlayer);
|
||||
logger.warn("after getGameView");
|
||||
return gameView;
|
||||
return new GameView(game.getState(), game, this.isPlayer);
|
||||
}
|
||||
|
||||
public GameEndView getGameEndView(UUID playerId, Match match) {
|
||||
|
|
Loading…
Reference in a new issue