fix: using proper maxRoundTime in TurnTimeoutTimer
This commit is contained in:
parent
0b41a9c7d8
commit
c2ad2e118e
@ -27,7 +27,7 @@ public class TurnTimeoutTimer {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.timer = Executors.newSingleThreadScheduledExecutor(threadFactory);
|
this.timer = Executors.newSingleThreadScheduledExecutor(threadFactory);
|
||||||
this.maxRoundTime = Server.getPartyConfig().maxRoundTime;
|
this.maxRoundTime = maxRoundTime;
|
||||||
this.callback = callback;
|
this.callback = callback;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user