Started by
The
on
Topic category: Help with Minecraft modding (Java Edition)
Well, I did a curse that can make you levitate ramdomly during a very short time (5 seconds), but sometimes (a lot of times) the potion effect doesn't end. It doesn't mind if you drink milk or use /effect clear, is like the effect is still there except for minecraft, that can't detect it. I'll let the procedure here. Please, if someone knows the problem tell me how to fix it. Oh, and also it only dissappears when you close the game, so I think that the game realises that you must not be levitating.
Edited by The on Sun, 01/31/2021 - 15:55
Well, does someone know how to help me?
Try using print block to see how often the add potion is called
It didn't work, I only saw this https://imgur.com/a/tBJa6ng, but nothing saying "potion called", that is what it should be printed.
I solved it, I added that it gives you the effect during 1 tick after the 100 it gives you normally, so it stops after that tick.