RandomTweaks

RandomTweaks

13M Downloads

Foods give incorrect saturation.

Lartza opened this issue ยท 2 comments

commented

With or without AppleCore installed, eating foods gives too small saturation values compared to the values AppleSkin shows.

There are some screenshots of this happening on AllTheMods/ATM3-Remix#26 (comment)

The small instance I tested this myself was Forge 14.23.4.2760, AppleSkin-mc1.12-1.0.9, randomtweaks-1.12.2-2.1.3.1 and optionally AppleCore-mc1.12.2-3.1.4

commented

Could this possibly be as simple as a missing multiplication by 2f?

Specifically from this line

float newSaturation = originalSaturation + foodLevel * foodSaturationModifier;

I'm going by the example code at squeek502/AppleCore#121 (comment)

commented

Oops, it is. This will be fixed in 1.12.2-2.1.3.2.