Potion Gets aplied when it shouldent and dosent go away

Started by Modgod55 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Potion Gets aplied when it shouldent and dosent go away

https://imgur.com/a/rhucxRU

 

in this procedure when an item is in an item and your sprinting it applies an effect for a bit, it does go away however when you remove that item and sprint it aplies the effect anyway and it goes down to 0:00 but doesn't go away

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
edit: i have made it so it…
Sat, 08/07/2021 - 03:25

edit: i have made it so it clears the effects if their duration is less than 1 tick and that has worked