Skip to content

Commit

Permalink
perf: use hotm option only when backapck icons
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckySoLucky committed Feb 13, 2024
1 parent 6a05074 commit 48da1a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ export async function getStats(
console.debug(`${options.debugId}: getStats returned. (${Date.now() - timeStarted}ms)`);

if (options.updateLeaderboards === true) {
/*stats.updateLeaderboardData(profile.uuid, allProfiles, {
stats.updateLeaderboardData(profile.uuid, allProfiles, {
debugId: `${helper.getClusterId()}/${profile.uuid}@updateLeaderboardData`,
});*/
});
}

return output;
Expand Down
2 changes: 1 addition & 1 deletion src/stats/items/processing.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export async function processItems(base64, source, customTextures = false, packs
const customTexture = getTexture(item, {
ignore_id: false,
pack_ids: packs,
hotm: true,
hotm: source === "storage_icons",
});

if (customTexture) {
Expand Down

0 comments on commit 48da1a6

Please sign in to comment.