remove condition that always evalutes to true
All checks were successful
Build / build (pull_request) Successful in 1m17s
All checks were successful
Build / build (pull_request) Successful in 1m17s
This commit is contained in:
parent
cd2fc9622a
commit
a1c5936dbf
@ -1483,17 +1483,15 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
|
||||
ScheduleInfo: []
|
||||
};
|
||||
worldState.PrimeVaultTraders.push(pt);
|
||||
if (isBeforeNextExpectedWorldStateRefresh(timeMs, weekStart)) {
|
||||
const rotation = config.worldState?.varziaOverride || getVarziaRotation(week);
|
||||
pt.Manifest = config.worldState?.varziaFullyStocked ? getAllVarziaManifests() : getVarziaManifest(rotation);
|
||||
if (config.worldState?.varziaOverride || config.worldState?.varziaFullyStocked) {
|
||||
pt.Expiry = { $date: { $numberLong: "2000000000000" } };
|
||||
} else {
|
||||
pt.ScheduleInfo.push({
|
||||
Expiry: { $date: { $numberLong: (weekEnd + unixTimesInMs.week).toString() } },
|
||||
FeaturedItem: getVarziaRotation(week + 1)
|
||||
});
|
||||
}
|
||||
const rotation = config.worldState?.varziaOverride || getVarziaRotation(week);
|
||||
pt.Manifest = config.worldState?.varziaFullyStocked ? getAllVarziaManifests() : getVarziaManifest(rotation);
|
||||
if (config.worldState?.varziaOverride || config.worldState?.varziaFullyStocked) {
|
||||
pt.Expiry = { $date: { $numberLong: "2000000000000" } };
|
||||
} else {
|
||||
pt.ScheduleInfo.push({
|
||||
Expiry: { $date: { $numberLong: (weekEnd + unixTimesInMs.week).toString() } },
|
||||
FeaturedItem: getVarziaRotation(week + 1)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user