Potion effects crash the game

Started by MWGSDA on Sat, 08/31/2019 - 21:48

Topic category: General discussion

Last seen on 14:50, 1. Sep 2019
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Potion effects crash the game
Sat, 08/31/2019 - 21:48

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?

Last seen on 09:17, 20. Feb 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.