From 72e4d911856640100243177a9571fa6ad9432b47 Mon Sep 17 00:00:00 2001 From: Dev Date: Thu, 21 Dec 2023 09:12:15 +0000 Subject: [PATCH] fix server start error --- project/src/generators/RagfairOfferGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/generators/RagfairOfferGenerator.ts b/project/src/generators/RagfairOfferGenerator.ts index 4f8080b6..a72dcffc 100644 --- a/project/src/generators/RagfairOfferGenerator.ts +++ b/project/src/generators/RagfairOfferGenerator.ts @@ -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))