Hey, I noticed a possible error when applying the cast event. I give the player the 'jump' effect and set 'no_icon,' but the icon continues to be displayed. I have also provided the console output below in case I'm overlooking something.
I noticed this while creating boots that should allow the player to jump higher and with more forward momentum. Currently, I'm handling it by using - adjust velocity in the direction of view for forward momentum and the 'cast' command with the 'jump' effect for jump height. I've also provided a link to my code. My question is, is there a cleaner way to achieve this without using the 'cast' effect and maybe just one or two 'adjust' commands? I tried using - adjust <player> velocity:<player.velocity.with_y[<player.velocity.y.mul[3]>]> in the on player jumps event, which should modify the jump height, but it only works if I add a 1-tick delay. Without the delay, it has no effect.
Link to my Code: https://paste.denizenscript.com/View/118425
Link to the Log for the no_icon issue: https://paste.denizenscript.com/View/118427
Content of Denizen Script Paste #118425: Jump Boots... pasted 2023/12/10 22:48:26 UTC-08:00, Paste length: 872 characters across 21 lines, Content: above_clouds_events:
Content of Server Log Paste #118427: Denizen Debug Logs From... pasted 2023/12/10 22:57:07 UTC-08:00, Paste length: 3349 characters across 37 lines, Content: Java Version: 17.0.7Up-time: 2d 4h