Damage provider error.

Started by Volte on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Damage provider error.
Mon, 11/11/2024 - 16:23 (edited)

So i have this procedure : https://ibb.co/yS1gJ5n and when i kill a mob et say "network error" and make me leave the world. For information "level_player" is syncronized to the player client. Thanks for helping !

Edited by Volte on Mon, 11/11/2024 - 16:23
The "get entity that caused"…
Tue, 11/12/2024 - 16:26

The "get entity that caused" returns null (empty entity) because it does not have a link to it in some cases.

You need to check if entity exists before doing other operations with it.

See https://mcreator.net/wiki/my-entity-procedure-crashes-game

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks ! it fixed my problem
Fri, 11/15/2024 - 16:21

thanks ! it fixed my problem