Need coding help please

Keep getting this error in my darkRP modification folder, no I haven’t messed with the core files, just my modification thing, I added these jobs and keep getting these:

[ERROR] gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:444: bad argument #1 to 'floor' (number expected, got nil)
  1. floor - [C]:-1
   2. AddExtraTeam - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:444
    3. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua:18
     4. include - [C]:-1
      5. loadCustomDarkRPItems - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:111
       6. fn - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:119
        7. Call - addons/ulib/lua/ulib/shared/hook.lua:183
         8. unknown - lua/includes/modules/gamemode.lua:35

here’s where the code looks like:

443 = jobCount

444	CustomTeam.salary = math.floor(CustomTeam.salary)

445	jobByCmd[CustomTeam.command] = table.insert(RPExtraTeams, CustomTeam)

-snip, bad reader-

This is all the default stuff, that was a core file, for some reason a random script error popped up and I don’t want to mess with the core files without your guys’ help