Removed unnecessary casts
Don't spam the console if something goes wrong while getting food values for various mods' foods

Fixes #6