some fixes

This commit is contained in:
michael.reiswich
2021-01-17 17:19:31 +01:00
parent 9f82d06e5d
commit 1e1b5ec7e1
5 changed files with 54 additions and 28 deletions

View File

@@ -31,7 +31,9 @@ namespace ReallifeGamemode.Server.Managers
{
DateTime now = DateTime.Now;
CurrentTime = now.TimeOfDay;
NAPI.Task.Run(() => {
NAPI.World.SetTime(now.Hour, now.Minute, now.Second);
}
});
}
}
}