fix server start error
This commit is contained in:
parent
b993226296
commit
72e4d91185
@ -283,7 +283,7 @@ export class RagfairOfferGenerator
|
|||||||
{
|
{
|
||||||
// Player offer = current time + offerDurationTimeInHour;
|
// Player offer = current time + offerDurationTimeInHour;
|
||||||
const offerDurationTimeHours = this.databaseServer.getTables().globals.config.RagFair.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))
|
if (this.ragfairServerHelper.isTrader(userID))
|
||||||
|
Loading…
Reference in New Issue
Block a user