aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/cleaners/skyblock/inventory.js2
-rw-r--r--build/database.js2
-rw-r--r--build/hypixelCached.js2
3 files changed, 1 insertions, 5 deletions
diff --git a/build/cleaners/skyblock/inventory.js b/build/cleaners/skyblock/inventory.js
index 400408c..098b8d4 100644
--- a/build/cleaners/skyblock/inventory.js
+++ b/build/cleaners/skyblock/inventory.js
@@ -38,8 +38,6 @@ function cleanItem(rawItem) {
let headId;
if (vanillaId === 397) {
const headDataBase64 = (_e = (_d = (_c = (_b = itemTag === null || itemTag === void 0 ? void 0 : itemTag.SkullOwner) === null || _b === void 0 ? void 0 : _b.Properties) === null || _c === void 0 ? void 0 : _c.textures) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.Value;
- if ((extraAttributes === null || extraAttributes === void 0 ? void 0 : extraAttributes.id) === 'LARGE_MINING_SACK')
- console.log(headDataBase64);
if (headDataBase64) {
const headData = JSON.parse(base64decode(headDataBase64).toString());
const headDataUrl = (_g = (_f = headData === null || headData === void 0 ? void 0 : headData.textures) === null || _f === void 0 ? void 0 : _f.SKIN) === null || _g === void 0 ? void 0 : _g.url;
diff --git a/build/database.js b/build/database.js
index 600b21d..f3eda16 100644
--- a/build/database.js
+++ b/build/database.js
@@ -216,7 +216,6 @@ async function fetchProfileLeaderboardRaw(name) {
.sort(sortQuery)
.limit(leaderboardMax)
.toArray();
- console.log('leaderboardRaw', leaderboardRaw);
cachedRawLeaderboards.set(name, leaderboardRaw);
return leaderboardRaw;
}
@@ -272,7 +271,6 @@ exports.fetchProfileLeaderboard = fetchProfileLeaderboard;
/** Fetch a leaderboard */
async function fetchLeaderboard(name) {
const profileLeaderboards = await fetchAllProfileLeaderboardAttributes();
- console.log(name, profileLeaderboards, profileLeaderboards.includes(name));
if (profileLeaderboards.includes(name)) {
return await fetchProfileLeaderboard(name);
}
diff --git a/build/hypixelCached.js b/build/hypixelCached.js
index cad0e94..c9e4876 100644
--- a/build/hypixelCached.js
+++ b/build/hypixelCached.js
@@ -181,7 +181,7 @@ async function fetchBasicPlayer(user) {
return exports.basicPlayerCache.get(playerUuid);
const player = await fetchPlayer(playerUuid);
if (!player)
- console.log(user);
+ console.log('no player? this should never happen', user);
delete player.profiles;
return player;
}