Procedure crashes the game and i cant firure out why

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 and i cant firure out why

I have a procedure that i think will override the amount of damage the player deals. but every time i try attacking a creature the game instantly crashes. below are the procedure and the crash report. if anyone can tell me whats wrong i would appreciate it.

https://drive.google.com/file/d/1F103kPG8t9XWq9UuGMlcMDm1oS-DJoK3/view?usp=sharing

https://docs.google.com/document/d/1ddkhYZZYg6KalKM3y3A2-pTyiyN30LAaoyp20VPfDIg/edit?usp=sharing

 

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
After a couple hours of…
Wed, 06/05/2024 - 03:34

After a couple hours of testing i have narrowed down the problem to using "Provided Damage Source" in the damage entity block. i dont know why this is causing the game to crash but i can work around it for now. still i would be interested in an explanation of why the crash is happening.