mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
fix: tiers off by 1
This commit is contained in:
1 parent
d165a1fc35
commit
429076c297
1 file changed
+6
-3
@@ -1439,7 +1439,10 @@ export async function definitions() {
|
||||
entry.include.push({
|
||||
filter_type: {
|
||||
$case: 'tiers',
|
||||
value: { min: includeRaw.minLevel, max: includeRaw.maxLevel },
|
||||
value: {
|
||||
min: (includeRaw.minLevel - 1) as Tier,
|
||||
max: (includeRaw.maxLevel - 1) as Tier,
|
||||
},
|
||||
},
|
||||
});
|
||||
} else if ('name' in includeRaw) {
|
||||
@@ -1540,8 +1543,8 @@ export async function definitions() {
|
||||
filter_type: {
|
||||
$case: 'tiers',
|
||||
value: {
|
||||
min: includeRaw.minLevel,
|
||||
max: includeRaw.maxLevel,
|
||||
min: (includeRaw.minLevel - 1) as Tier,
|
||||
max: (includeRaw.maxLevel - 1) as Tier,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user