visible method of bossbar takes the argument of type number, but it should take argument of typeboolean.
I have changed the type from number to boolean.
bossbar.set('timer_lvl_4').visible(true); : correct function
bossbar.set('timer_lvl_4').visible(1); : incorrect function
visible method of bossbar takes the argument of type
number
, but it should take argument of typeboolean
. I have changed the type fromnumber
toboolean
.bossbar.set('timer_lvl_4').visible(true);
: correct functionbossbar.set('timer_lvl_4').visible(1);
: incorrect functionmodified: src/commands/implementations/Bossbar.ts