Procedure won't compile (please help)

Started by Range on

Topic category: Help with modding (Java Edition)

Last seen on 05:17, 20. Oct 2024
Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Procedure won't compile (please help)

I am trying to make an item that when it attacks an entity, will add a poison effect to the target, and add regeneration to the player but whenever I try to save it it says, "Your workspace contains mod elements that don't compile correctly".

This is the build log:

https://pastebin.com/axSdReuU

and this is the code for the procedure:

https://pastebin.com/ws2bJbeQ

Please let me know if there is a fix for this or if I did something wrong, thanks!