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",
|
||||
"version": "0.7.0",
|
||||
"version": "0.7.1",
|
||||
"description": "Adds item pricing to the Team Fortress 2 wiki",
|
||||
"devDependencies": {
|
||||
"@happy-dom/global-registrator": "^17.4.4",
|
||||
|
||||
@@ -82,9 +82,9 @@ async function inject() {
|
||||
return;
|
||||
}
|
||||
|
||||
if(!itemName) {
|
||||
// Get name from index
|
||||
itemName = (itemSchema[itemIndex.toString()] as any).name;
|
||||
// Prioritize name from item schema
|
||||
if(itemName !== itemSchema[itemIndex.toString()].name) {
|
||||
itemName = (itemSchema[itemIndex.toString()]).name
|
||||
}
|
||||
|
||||
log(`Starting lookup for ${itemName} (defindex ${itemIndex})`);
|
||||
|
||||
Reference in New Issue
Block a user