better default filters

This commit is contained in:
2024-07-15 18:51:01 +02:00
parent 7629c9f339
commit 592f941a1c
2 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -13,9 +13,9 @@ export default class Filters {
jobs?: string[],
},
) {
this.minLevel = data?.minLevel || 1;
this.minLevel = data?.minLevel || 91;
this.maxLevel = data?.maxLevel || 100;
const jobData = data?.jobs || [];
const jobData = data?.jobs || [Job.BOTANIST, Job.MINER];
for (const job of jobData) {
const parsedJob = jobFromString(job);