Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 72941cc

Browse files
authored
Merge pull request #2192 from DuckySoLucky/hypixel-plus-updates
Hypixel plus updates
2 parents dc21ed8 + 48da1a6 commit 72941cc

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
items=minecraft:skull
2+
damage=3
23
texture=arrow_circle_red
34
nbt.display.Name=\u00A7cReset Heart of the Mountain

src/custom-resources.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ async function loadResourcePacks() {
351351
}
352352

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

355358
if (regex.startsWith("ipattern:")) {
356359
regex = mm.makeRe(regex.substring(9), { nocase: true });

src/lib.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ export async function getStats(
235235
console.debug(`${options.debugId}: getStats returned. (${Date.now() - timeStarted}ms)`);
236236

237237
if (options.updateLeaderboards === true) {
238-
/*stats.updateLeaderboardData(profile.uuid, allProfiles, {
238+
stats.updateLeaderboardData(profile.uuid, allProfiles, {
239239
debugId: `${helper.getClusterId()}/${profile.uuid}@updateLeaderboardData`,
240-
});*/
240+
});
241241
}
242242

243243
return output;

src/stats/items/processing.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ export async function processItems(base64, source, customTextures = false, packs
283283
const customTexture = getTexture(item, {
284284
ignore_id: false,
285285
pack_ids: packs,
286+
hotm: source === "storage_icons",
286287
});
287288

288289
if (customTexture) {

0 commit comments

Comments
 (0)