Solved Booleans won't change when clicked in GUI.

Discussion in 'Spigot Plugin Help' started by lauritslayer04, Jun 22, 2021.

  1. #1 lauritslayer04, Jun 22, 2021
    Last edited: Jun 22, 2021
  2. player.hasPotionEffect is easy to use. Why not use the spigot api?
  3. I'm unsure of your problem, you state in the title that the booleans in your listener class don't change, but you never change them... Do you expect them to be changed by some external force?
    • Agree Agree x 1
  4. I formulated it very bady, sorry. when i click on the potion item, I want it to give you potion effect, but if I already have it, I want it to be removed. This doesn't work. I use my own booleans since I am planning on expanding this project and I dont want it to interfere with other things.