You've already forked tf2wikipricing
bump version to 0.7.1
Reviewed-on: http://charon.local/git/xen/tf2wikipricing/pulls/19
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "tf2wikipricing",
|
"name": "tf2wikipricing",
|
||||||
"version": "0.7.0",
|
"version": "0.7.1",
|
||||||
"description": "Adds item pricing to the Team Fortress 2 wiki",
|
"description": "Adds item pricing to the Team Fortress 2 wiki",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@happy-dom/global-registrator": "^17.4.4",
|
"@happy-dom/global-registrator": "^17.4.4",
|
||||||
|
|||||||
@@ -82,9 +82,9 @@ async function inject() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!itemName) {
|
// Prioritize name from item schema
|
||||||
// Get name from index
|
if(itemName !== itemSchema[itemIndex.toString()].name) {
|
||||||
itemName = (itemSchema[itemIndex.toString()] as any).name;
|
itemName = (itemSchema[itemIndex.toString()]).name
|
||||||
}
|
}
|
||||||
|
|
||||||
log(`Starting lookup for ${itemName} (defindex ${itemIndex})`);
|
log(`Starting lookup for ${itemName} (defindex ${itemIndex})`);
|
||||||
|
|||||||
Reference in New Issue
Block a user