Procedure crashes the game when it tries to activate

Started by nilek20 on

Topic category: Help with modding (Java Edition)

Last seen on 17:38, 24. Jun 2024
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure crashes the game when it tries to activate

The procedure i made below is supposed to increase the damage the player does on attacking based on a Global Player Persistent variable. when i load up a test world and try to attack a horse the game crashes. looking around i cant find any reason why this is.

https://drive.google.com/file/d/178y2vALwvtknDHjCiC2UMFA4MMSeQEdN/view?usp=sharing

 

Last seen on 17:38, 24. Jun 2024
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Never mind i figured it out…
Sun, 05/19/2024 - 16:09

Never mind i figured it out. I accidentally had a "not" block on both "if" conditions instead of just the first.