aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/inventory.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners/skyblock/inventory.ts')
-rw-r--r--src/cleaners/skyblock/inventory.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cleaners/skyblock/inventory.ts b/src/cleaners/skyblock/inventory.ts
index 5ad6617..16c74fa 100644
--- a/src/cleaners/skyblock/inventory.ts
+++ b/src/cleaners/skyblock/inventory.ts
@@ -17,11 +17,11 @@ interface Item {
}
reforge?: string
- anvil_uses?: number
+ anvilUses?: number
timestamp?: string
enchantments?: { [ name: string ]: number }
- head_texture?: string
+ headTexture?: string
}
export type Inventory = Item[]
@@ -63,10 +63,10 @@ function cleanItem(rawItem): Item | null {
reforge: extraAttributes?.modifier,
enchantments: extraAttributes?.enchantments,
- anvil_uses: extraAttributes?.anvil_uses,
+ anvilUses: extraAttributes?.anvil_uses,
timestamp: extraAttributes?.timestamp,
- head_texture: headId,
+ headTexture: headId,
}
}