armor effect bug

Started by AwesomeGamer333 on

Topic category: Troubleshooting, bugs, and solutions

Active 4 years ago
Joined Aug 2020
Points:
633

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
armor effect bug

in certain curcumstances, if you have an armor piece that gives you a potion effect, the duration will always be 0 no matter what. additionally, if the effect is health boost, it buggs out even more.

circumstances:

you have to have a function attached to an armor tick event

the function has to look something like this:function image

Active 3 years ago
Joined Jun 2018
Points:
744

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 44
The duration is in tick 20…
Wed, 08/26/2020 - 15:31

The duration is in tick 20 ticks = 1 second

Active 4 years ago
Joined Aug 2020
Points:
633

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
oh thats in ticks? i thought…
Wed, 08/26/2020 - 17:51

oh thats in ticks? i thought it was in seconds.