mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-30 14:09:51 +01: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({
|
entry.include.push({
|
||||||
filter_type: {
|
filter_type: {
|
||||||
$case: 'tiers',
|
$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) {
|
} else if ('name' in includeRaw) {
|
||||||
@@ -1540,8 +1543,8 @@ export async function definitions() {
|
|||||||
filter_type: {
|
filter_type: {
|
||||||
$case: 'tiers',
|
$case: 'tiers',
|
||||||
value: {
|
value: {
|
||||||
min: includeRaw.minLevel,
|
min: (includeRaw.minLevel - 1) as Tier,
|
||||||
max: includeRaw.maxLevel,
|
max: (includeRaw.maxLevel - 1) as Tier,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user