The Spice of Life

The Spice of Life

16M Downloads

[1.6.4] setFoodLevel being called on the server in ProxyHungerOverhaul

squeek502 opened this issue ยท 0 comments

commented

From: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2091809-the-spice-of-life-encouraging-dietary-variety?comment=192

See: https://github.com/squeek502/SpiceOfLife/blob/master/java/squeek/spiceoflife/proxy/ProxyHungerOverhaul.java#L69-L78

Need to reflect foodLevel/foodSaturationLevel on the server because setFoodLevel/setSaturationLevel for who knows what reason are client-only methods.

Ugh.