Fixed server crash bug now the mod works on server side