If there is glass or barrier above the player (even if it's like 50 blocks up), it won't let the player use the Rocket gadget.
I suggest that the gadget ignores transparent blocks like glass and barriers and just go through them.
But, this does cause issues with players landing on top of barriers/glass. So maybe instead of just letting them fall down, teleport them back to where they activated the gadget on the ground.
If there is glass or barrier above the player (even if it's like 50 blocks up), it won't let the player use the Rocket gadget.
I suggest that the gadget ignores transparent blocks like glass and barriers and just go through them. But, this does cause issues with players landing on top of barriers/glass. So maybe instead of just letting them fall down, teleport them back to where they activated the gadget on the ground.