[0.79.6] Temperature daily profile: falling temperature at daytime, raising at night


I was searching the source code to find out how some of the new features work (feeding pigs, ...) and found some strange code regarding temperature calculation.

Apparently the method TFC_Climate.getTemp(World, int, int, int, int) is expecting total hours in the third argument "th" but is receiving hour of day (called from 3 places),
I did some test using /debugmode and advancing time to confirm that temperature is falling at day and raising at night.

I changed the method to accept hour of day and it seams to be working fine.
I am new to modding and GitHub, so sorry if I didn't it correctly.