diff options
author | mat <github@matdoes.dev> | 2021-04-28 13:30:03 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-04-28 13:30:03 -0500 |
commit | 0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a (patch) | |
tree | f533a2706cb0d2bdd6f260cd0b040e834ea99931 /build | |
parent | 8fb9391a1f5fac16afea25564a30c904020a3126 (diff) | |
download | skyblock-api-0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a.tar.gz skyblock-api-0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a.tar.bz2 skyblock-api-0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a.zip |
remove some debug stuff
Diffstat (limited to 'build')
-rw-r--r-- | build/cleaners/skyblock/inventory.js | 2 | ||||
-rw-r--r-- | build/database.js | 2 | ||||
-rw-r--r-- | build/hypixelCached.js | 2 |
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; } |