mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-08 19:38:36 +01:00
fix typo of time desync detection
This commit is contained in:
parent
8e9290fcc9
commit
b93abca795
@ -241,7 +241,7 @@ function ohNo() {
|
||||
try {
|
||||
icanhazepoch().then(sec => {
|
||||
const calcDelta = Date.now() - sec * 1000;
|
||||
if (Math.abs(calcDelta) > 100000) {
|
||||
if (Math.abs(calcDelta) > 10000) {
|
||||
addToast("Time isn't synchronized", "Please synchronize your computer time to NTP servers");
|
||||
deltaTime = calcDelta;
|
||||
console.log("applying delta time " + deltaTime);
|
||||
|
Loading…
Reference in New Issue
Block a user