I figured something out, I started adding mods one by one and the ones that made the server crash I didn't use and the server works perfectly but there is one problem after playing for a minute or so the game, not the server crashes and says it crashed whilst ticking entity so all I need to know is how to fix this