diff options
-rw-r--r-- | build/cleaners/skyblock/inventory.js | 2 | ||||
-rw-r--r-- | build/database.js | 2 | ||||
-rw-r--r-- | build/hypixelCached.js | 2 | ||||
-rw-r--r-- | src/cleaners/skyblock/inventory.ts | 1 | ||||
-rw-r--r-- | src/database.ts | 2 | ||||
-rw-r--r-- | src/hypixelCached.ts | 2 |
6 files changed, 2 insertions, 9 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; } diff --git a/src/cleaners/skyblock/inventory.ts b/src/cleaners/skyblock/inventory.ts index d23bbac..890937a 100644 --- a/src/cleaners/skyblock/inventory.ts +++ b/src/cleaners/skyblock/inventory.ts @@ -39,7 +39,6 @@ function cleanItem(rawItem): Item { if (vanillaId === 397) { const headDataBase64 = itemTag?.SkullOwner?.Properties?.textures?.[0]?.Value - if (extraAttributes?.id === 'LARGE_MINING_SACK') console.log(headDataBase64) if (headDataBase64) { const headData = JSON.parse(base64decode(headDataBase64).toString()) const headDataUrl = headData?.textures?.SKIN?.url diff --git a/src/database.ts b/src/database.ts index c715d52..6077025 100644 --- a/src/database.ts +++ b/src/database.ts @@ -261,7 +261,6 @@ async function fetchProfileLeaderboardRaw(name: string): Promise<DatabaseProfile .sort(sortQuery) .limit(leaderboardMax) .toArray() - console.log('leaderboardRaw', leaderboardRaw) cachedRawLeaderboards.set(name, leaderboardRaw) return leaderboardRaw @@ -333,7 +332,6 @@ export async function fetchProfileLeaderboard(name: string): Promise<ProfileLead /** Fetch a leaderboard */ export async function fetchLeaderboard(name: string): Promise<MemberLeaderboard|ProfileLeaderboard> { const profileLeaderboards = await fetchAllProfileLeaderboardAttributes() - console.log(name, profileLeaderboards, profileLeaderboards.includes(name)) if (profileLeaderboards.includes(name)) { return await fetchProfileLeaderboard(name) } else { diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts index 6a84f5e..a5a5909 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -191,7 +191,7 @@ export async function fetchBasicPlayer(user: string): Promise<CleanPlayer> { return basicPlayerCache.get(playerUuid) const player = await fetchPlayer(playerUuid) - if (!player) console.log(user) + if (!player) console.log('no player? this should never happen', user) delete player.profiles return player |