mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 13:19:18 -08:00
Minor change to game logging.
This commit is contained in:
parent
73f296bb14
commit
db3d40b7a6
1 changed files with 2 additions and 2 deletions
|
|
@ -491,8 +491,8 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
|
|||
public int bookmarkState() {
|
||||
if (!simulation) {
|
||||
saveState(true);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Bookmarking state: " + gameStates.getSize());
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("Bookmarking state: " + gameStates.getSize());
|
||||
}
|
||||
savedStates.push(gameStates.getSize() - 1);
|
||||
return savedStates.size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue