fix server start error

This commit is contained in:
Dev 2023-12-21 09:12:15 +00:00
parent b993226296
commit 72e4d91185

View File

@ -283,7 +283,7 @@ export class RagfairOfferGenerator
{
// Player offer = current time + offerDurationTimeInHour;
const offerDurationTimeHours = this.databaseServer.getTables().globals.config.RagFair.offerDurationTimeInHour;
return this.timeUtil.getTimestamp() + Math.round(offerDurationTimeHours * TimeUtil.oneHourAsSeconds);
return this.timeUtil.getTimestamp() + Math.round(offerDurationTimeHours * TimeUtil.ONE_HOUR_AS_SECONDS);
}
if (this.ragfairServerHelper.isTrader(userID))