Damage provider error. [fixed]

Started by Volte on

Topic category: Troubleshooting, bugs, and solutions

Active 3 weeks ago
Joined Apr 2021
Points:
590

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
Damage provider error. [fixed]
Wed, 11/27/2024 - 13:02 (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 Wed, 11/27/2024 - 13:02
Active 3 weeks ago
Joined Apr 2021
Points:
590

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
here is the pastbin if you…
Mon, 11/11/2024 - 17:37

here is the pastbin if you don't want to download it https://pastebin.com/TNSaRW50

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

Active 3 weeks ago
Joined Apr 2021
Points:
590

User statistics:

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

thanks ! it fixed my problem