Procedure crashes the game when it tries to activate

Started by nilek20 on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 weeks ago
Joined Aug 2020
Points:
865

User statistics:

  • Modifications: 1
  • Forum topics: 49
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 49
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

 

Active 4 weeks ago
Joined Aug 2020
Points:
865

User statistics:

  • Modifications: 1
  • Forum topics: 49
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 49
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.