mirror of
https://github.com/AsgardEternal/DBLogExtension.git
synced 2024-12-30 16:29:17 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
cb1c6877a8
commit
d06e9d353d
@ -123,6 +123,7 @@ export default class DBLogPlayerTime extends DBLog {
|
||||
);
|
||||
console.log('last tick found:', lastTickTime);
|
||||
|
||||
if(!lastTickTime) return;
|
||||
const lastServerDate = lastTickTime.time;
|
||||
const lastServerTime = lastServerDate.getFullYear() + '-' + (lastServerDate.getMonth() + 1) + '-' + lastServerDate.getDate() + ' ' + lastServerDate.getHours() + ':' + lastServerDate.getMinutes() + ':' + lastServerDate.getSeconds();
|
||||
console.log('last time found:', lastServerTime);
|
||||
|
Loading…
Reference in New Issue
Block a user