Added Test and changed some log messages from info to debug.

This commit is contained in:
LevelX2 2020-01-07 17:56:26 +01:00
parent d16a4e5934
commit d4ec65cddb
5 changed files with 48 additions and 8 deletions

View file

@ -813,7 +813,7 @@ public abstract class GameImpl implements Game, Serializable {
sb.append(']');
count++;
}
logger.info(sb.toString());
logger.debug(sb.toString());
}
}
@ -2886,7 +2886,7 @@ public abstract class GameImpl implements Game, Serializable {
try {
Integer amount = Integer.parseInt(s[1]);
player.setLife(amount, this, ownerId);
logger.info("Setting player's life: ");
logger.debug("Setting player's life: ");
} catch (NumberFormatException e) {
logger.fatal("error setting life", e);
}