Tick event crashes the game

Started by SuperOmer123 on

Topic category: Help with modding (Java Edition)

Last seen on 17:32, 10. Dec 2022
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Tick event crashes the game

I use fabric generator plugin and fabric tools. I created a custom gamerule called damageMultiplier. And I did something like this in a module:
if entity is hurt

deal get custom gamemode damage multiplier*2 damage to event/target entity type: out of world

when I take damage, the game crashes.

Not only that, this happens on every tick event. Such as gui open tick