aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/inventory.ts
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-13 17:36:18 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-13 17:36:18 -0600
commit6531446675b54522ed320c89b6b6e803e8ab8999 (patch)
tree90cf35cf363d3cc5bddae2ae7807bd8b442ce75c /src/cleaners/skyblock/inventory.ts
parent987fb43f5f0a724918c4e6094de08cdfbcb2ddf6 (diff)
downloadskyblock-api-6531446675b54522ed320c89b6b6e803e8ab8999.tar.gz
skyblock-api-6531446675b54522ed320c89b6b6e803e8ab8999.tar.bz2
skyblock-api-6531446675b54522ed320c89b6b6e803e8ab8999.zip
optimize inventories
don't parse nbt for inventories that it doesn't need to
Diffstat (limited to 'src/cleaners/skyblock/inventory.ts')
-rw-r--r--src/cleaners/skyblock/inventory.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cleaners/skyblock/inventory.ts b/src/cleaners/skyblock/inventory.ts
index ac36d88..ea115e5 100644
--- a/src/cleaners/skyblock/inventory.ts
+++ b/src/cleaners/skyblock/inventory.ts
@@ -28,6 +28,7 @@ export const INVENTORIES = {
}
export async function cleanInventories(data: any): Promise<typeof INVENTORIES> {
+ console.log('cleanInventories', data.uuid)
const cleanInventories: any = {}
for (const cleanInventoryName in INVENTORIES) {
const hypixelInventoryName = INVENTORIES[cleanInventoryName]