Mob Crashes Game (SOLVED)

Started by BryAstro on

Topic category: Help with modding (Java Edition)

Last seen on 13:29, 24. Jun 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob Crashes Game (SOLVED)
Thu, 12/21/2023 - 23:11 (edited)

Sometimes when the Mob is supposed to do an ability, it instead crashes the game. And it's really setting me off.

Here is the log:

https://pastebin.com/aTKkZiUs

Is there anything I could do to prevent the crashes from happening?

Edited by BryAstro on Thu, 12/21/2023 - 23:11
If you use any procedure…
Wed, 12/20/2023 - 19:43

If you use any procedure that can return null (signified by NULL icon on the side), you need to check for a certain entity type returned to avoid this

Last seen on 13:29, 24. Jun 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thx very much Klemen! It's…
Wed, 12/20/2023 - 23:06

Thx very much Klemen! It's working so far! I will let you know if I come across anymore problems related to the topic.