Potion effects crash the game

Started by MWGSDA on

Topic category: General discussion

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Potion effects crash the game

Everything that has something to do with potion effects crashes the game. When i right-click with my sword that should give me speed 2, my game crashes, when I jump in my fluid that should give me regeneration 2, my game crashes. The only thing that works, is, when i hit mobs with my sword, they get wither 3.

What can I do, that my game stops crashing, when I do something with potion effects?

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've experienced similar…
Sat, 09/21/2019 - 10:06

I've experienced similar problems with potion effects. I believe the problem is to do with potion effects being applied too quickly.
Try to make a if statement that tests if the current entity has the potion effect, and if it is false then give the potion effect.