Weird if statement bug

Started by PopcatCookie on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Weird if statement bug

I've made this code: https://imgur.com/Q8r9rNr

But for some reason, the code in the "else" section of my first if statement is also running and I don't want to, I can't figure out why because this bug shouldn't be there... If someone can find out what's wrong I would greatly appreciate it!