Fixed condition for deck manipulation report.

This commit is contained in:
LevelX2 2017-08-19 07:47:13 +02:00
parent a439f30c21
commit d7ee6db923

View file

@ -428,7 +428,7 @@ public class TableController {
}
Deck deck = Deck.load(deckList, false, false);
validDeck = updateDeck(userId, playerId, deck);
if (!validDeck) {
if (!validDeck && getTableState() == TableState.SIDEBOARDING) {
logger.warn(" userId: " + userId + " - Modified deck card list!");
}
}