mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-09-24 13:45:50 +00:00
@@ -330,8 +330,8 @@ function parseStackSize (section: string[], item: ParsedItem) {
|
||||
return PARSER_SKIPPED
|
||||
}
|
||||
if (section[0].startsWith(_$[C.TAG_STACK_SIZE])) {
|
||||
// Portal Scroll "Stack Size: 2 448/40"
|
||||
const [value, max] = section[0].substr(_$[C.TAG_STACK_SIZE].length).replace(/\u00a0/g, '').split('/').map(Number)
|
||||
// Portal Scroll "Stack Size: 2[localized separator]448/40"
|
||||
const [value, max] = section[0].substr(_$[C.TAG_STACK_SIZE].length).replace(/[^\d/]/g, '').split('/').map(Number)
|
||||
item.stackSize = { value, max }
|
||||
|
||||
if (item.category === ItemCategory.Seed) {
|
||||
|
||||
Reference in New Issue
Block a user