Adding ``` manifest { attributes 'ModSide': 'CLIENT' } ``` to jar in your build.gradle file will mark the mod as client side and will prevent it from loading on server and thus crashing them.