This will crash the dedicated server. The ModelRegistryEvent is client side only.
Ok, I did the other things, but how do I fix this? I know it might be obvious, but I'm a little out of practice with java. It's been a couple months since I've actually done more than just copy, pasting, and changing a few keywords.