Potion Gets aplied when it shouldent and dosent go away

Started by Modgod55 on

Topic category: Help with modding (Java Edition)

Last seen on 21:02, 21. Aug 2021
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

Last seen on 21:02, 21. Aug 2021
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