I have a problem, the effect doesn't end

Started by The on

Topic category: Help with modding (Java Edition)

Last seen on 19:10, 4. Aug 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have a problem, the effect doesn't end
Sun, 01/31/2021 - 15:55 (edited)

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.

https://imgur.com/a/1WJDJ8C

Edited by The on Sun, 01/31/2021 - 15:55
Last seen on 19:10, 4. Aug 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, does someone know how…
Sun, 01/31/2021 - 15:55

Well, does someone know how to help me?

Last seen on 19:10, 4. Aug 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It didn't work, I only saw…
Sun, 01/31/2021 - 18:51

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.

Last seen on 19:10, 4. Aug 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I solved it, I added that it…
Tue, 02/09/2021 - 12:50

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.