Skip to content

Commit

Permalink
Merge pull request #2192 from DuckySoLucky/hypixel-plus-updates
Browse files Browse the repository at this point in the history
Hypixel plus updates
  • Loading branch information
Shiiyu authored Feb 13, 2024
2 parents dc21ed8 + 48da1a6 commit 72941cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
items=minecraft:skull
damage=3
texture=arrow_circle_red
nbt.display.Name=\u00A7cReset Heart of the Mountain
3 changes: 3 additions & 0 deletions src/custom-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ async function loadResourcePacks() {
}

let regex = properties[property];
if (regex.includes("\\u00A7")) {
regex = regex.toString().replace(/\\u00A7[0-9a-fk-or]/g, "");
}

if (regex.startsWith("ipattern:")) {
regex = mm.makeRe(regex.substring(9), { nocase: true });
Expand Down
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
1 change: 1 addition & 0 deletions src/stats/items/processing.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ export async function processItems(base64, source, customTextures = false, packs
const customTexture = getTexture(item, {
ignore_id: false,
pack_ids: packs,
hotm: source === "storage_icons",
});

if (customTexture) {
Expand Down

0 comments on commit 72941cc

Please sign in to comment.