@@ -88,20 +88,20 @@ class SkyBlockInventoryItem {
88
88
this . statsBook = data ?. tag ?. ExtraAttributes ?. stats_book || null ;
89
89
this . runes = data ?. tag ?. ExtraAttributes ?. runes
90
90
? Object . keys ( data ?. tag ?. ExtraAttributes ?. runes ) . map (
91
- ( rune ) => new SkyBlockInventoryItemRune ( { id : rune , tier : data ?. tag ?. ExtraAttributes ?. runes ?. [ rune ] } )
92
- )
91
+ ( rune ) => new SkyBlockInventoryItemRune ( { id : rune , tier : data ?. tag ?. ExtraAttributes ?. runes ?. [ rune ] } )
92
+ )
93
93
: null ;
94
94
this . reforge = data ?. tag ?. ExtraAttributes ?. modifier || 'none' ;
95
95
this . hasArtOfWar = Boolean ( data ?. tag ?. ExtraAttributes ?. art_of_war_count || 0 ) ;
96
96
this . starCount = data ?. tag ?. ExtraAttributes ?. upgrade_level || 0 ;
97
97
this . enchantments = data ?. tag ?. ExtraAttributes ?. enchantments
98
98
? Object . keys ( data ?. tag ?. ExtraAttributes ?. enchantments ) . map (
99
- ( enchantment ) =>
100
- new SkyBlockInventoryItemEnchantment ( {
101
- id : enchantment ,
102
- level : data ?. tag ?. ExtraAttributes ?. enchantments ?. [ enchantment ]
103
- } )
104
- )
99
+ ( enchantment ) =>
100
+ new SkyBlockInventoryItemEnchantment ( {
101
+ id : enchantment ,
102
+ level : data ?. tag ?. ExtraAttributes ?. enchantments ?. [ enchantment ]
103
+ } )
104
+ )
105
105
: null ;
106
106
this . uuid = data ?. tag ?. ExtraAttributes ?. uuid || null ;
107
107
this . hotPotatoBookCount = data ?. tag ?. ExtraAttributes ?. hot_potato_count || null ;
@@ -126,12 +126,12 @@ class SkyBlockInventoryItem {
126
126
this . isShiny = Boolean ( data ?. tag ?. ExtraAttributes ?. is_shiny || 0 ) ;
127
127
this . attributes = data ?. tag ?. ExtraAttributes ?. attributes
128
128
? Object . keys ( data ?. tag ?. ExtraAttributes ?. attributes ) . map (
129
- ( attribute ) =>
130
- new SkyBlockInventoryItemAttribute ( {
131
- id : attribute ,
132
- level : data ?. tag ?. ExtraAttributes ?. attributes [ attribute ]
133
- } )
134
- )
129
+ ( attribute ) =>
130
+ new SkyBlockInventoryItemAttribute ( {
131
+ id : attribute ,
132
+ level : data ?. tag ?. ExtraAttributes ?. attributes [ attribute ]
133
+ } )
134
+ )
135
135
: null ;
136
136
this . jalapenoCount = data ?. tag ?. ExtraAttributes ?. jalapeono_count || null ;
137
137
this . hecatombSRuns = data ?. tag ?. ExtraAttributes ?. hecatomb_s_runs || null ;
0 commit comments