File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,17 @@ function getHotm(profile) {
1919 mithril : {
2020 spent : profile . mining_core . powder_spent_mithril ?? 0 ,
2121 current : profile . mining_core . powder_mithril ?? 0 ,
22- total : profile . mining_core . powder_spent_mithril ?? 0 + profile . mining_core . powder_mithril ?? 0
22+ total : ( profile . mining_core . powder_spent_mithril ?? 0 ) + ( profile . mining_core . powder_mithril ?? 0 )
2323 } ,
2424 gemstone : {
2525 spent : profile . mining_core . powder_spent_gemstone ?? 0 ,
2626 current : profile . mining_core . powder_gemstone ?? 0 ,
27- total : profile . mining_core . powder_spent_gemstone ?? 0 + profile . mining_core . powder_gemstone ?? 0
27+ total : ( profile . mining_core . powder_spent_gemstone ?? 0 ) + ( profile . mining_core . powder_gemstone ?? 0 )
2828 } ,
2929 glacite : {
3030 spent : profile . mining_core . powder_spent_glacite ?? 0 ,
3131 current : profile . mining_core . powder_glacite ?? 0 ,
32- total : profile . mining_core . powder_spent_glacite ?? 0 + profile . mining_core . powder_glacite ?? 0
32+ total : ( profile . mining_core . powder_spent_glacite ?? 0 ) + ( profile . mining_core . powder_glacite ?? 0 )
3333 }
3434 } ,
3535 level : getLevelByXp ( profile . mining_core . experience , { type : "hotm" } ) ,
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function getJacob(profile) {
3434 sugar_cane : profile . jacobs_contest . personal_bests ?. SUGAR_CANE ?? 0
3535 }
3636 } ;
37- } catch ( error ) {
37+ } catch {
3838 return null ;
3939 }
4040}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ function getSlayer(profile) {
8080 blaze : getSlayerLevel ( profile , "blaze" ) ,
8181 vampire : getSlayerLevel ( profile , "vampire" )
8282 } ;
83- } catch ( error ) {
83+ } catch {
8484 return null ;
8585 }
8686}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ async function checkRequirements(uuid) {
99 const [ player , profile ] = await Promise . all ( [ hypixel . getPlayer ( uuid ) , getLatestProfile ( uuid ) ] ) ;
1010 let meetRequirements = false ;
1111
12- const skyblockLevel = ( profile . profile ?. leveling ?. experience || 0 ) / 100 ?? 0 ;
12+ const skyblockLevel = ( profile . leveling ?. experience ?? 0 ) / 100 ;
1313
1414 const bwLevel = player . stats . bedwars . level ;
1515 const bwFKDR = player . stats . bedwars . finalKDRatio ;
You can’t perform that action at this time.
0 commit comments