Started by
MWGSDA
on
Topic category: General discussion
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?
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.