🐞 fix(拍卖行): 世界拍卖行时间限制
This commit is contained in:
@@ -545,8 +545,8 @@ export async function checkAuctionStage(auctionStage: number, magicWord: string)
|
||||
if(curTime > (await todayWorldBegin()).getTime()) return false
|
||||
}
|
||||
if(auctionStage == AUCTION_STAGE.WORLD) {
|
||||
if(curTime < (await todayWorldBegin()).getTime() - 10 * 60 * 100) return false;
|
||||
if(curTime > (await todayWorldEnd()).getTime() + 10 * 60 * 1000) return false
|
||||
if(curTime < (await todayWorldBegin()).getTime()) return false;
|
||||
if(curTime > (await todayWorldEnd()).getTime()) return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user