I'm playing on v1.14. It's weird, I don't get the nausea effect anymore, I've tried restarting the game and removing the texture packs that were on. Does anyone know a fix?
I was using this command:
/execute at @a[distance=..30] as @a[distance=..30] if block ~ ~ ~ minecraft:blue_stained_glass_pane run effect give @a minecraft:nausea 3 10 true