mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-10-30 14:17:55 +00:00
drop uncut gem stuff
This commit is contained in:
@@ -377,14 +377,8 @@ function pickCorrectVariant(item: ParserState) {
|
||||
|
||||
function parseNamePlate(section: string[]) {
|
||||
let line = section.shift();
|
||||
let uncutSkillGem = false;
|
||||
if (!line?.startsWith(_$.ITEM_CLASS)) {
|
||||
// FIXME: Uncut skill gems (remove)
|
||||
if (line && section.unshift(line) && isUncutSkillGem(section)) {
|
||||
uncutSkillGem = true;
|
||||
} else {
|
||||
return err("item.parse_error");
|
||||
}
|
||||
return err("item.parse_error");
|
||||
}
|
||||
|
||||
line = section.shift();
|
||||
@@ -444,9 +438,6 @@ function parseNamePlate(section: string[]) {
|
||||
item.rarity = ItemRarity.Unique;
|
||||
break;
|
||||
}
|
||||
if (uncutSkillGem) {
|
||||
item.category = ItemCategory.UncutGem;
|
||||
}
|
||||
|
||||
return ok(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user